diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 462a177e..c4e7053a 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -131,16 +131,20 @@ jobs: aws s3 sync $PWD/yum s3://repo.liquibase.com/yum - name: Update Homebrew formula for ${{ inputs.artifactId }} - uses: dawidd6/action-homebrew-bump-formula@v3 - # Will set the following for the first time, then we can the line - continue-on-error: true + uses: mislav/bump-homebrew-formula-action@v3 with: - token: ${{ secrets.BOT_TOKEN }} - no_fork: true - formula: liquibase - tag: "${{ github.event.release.tag_name }}" - force: true - + formula-name: liquibase + formula-path: Formula/l/liquibase.rb + homebrew-tap: Homebrew/homebrew-core + tag-name: ${{ inputs.version }} + download-url: "https://github.com/liquibase/liquibase/releases/download/v${{ inputs.version }}/liquibase-${{ inputs.version }}.tar.gz" + commit-message: | + {{formulaName}} {{version}} + + Created by https://github.com/mislav/bump-homebrew-formula-action + env: + COMMITTER_TOKEN: ${{ secrets.BOT_TOKEN }} + - name: Update SDKMAN version for ${{ inputs.artifactId }} env: SDKMAN_CONSUMER_KEY: ${{ secrets.SDKMAN_CONSUMER_KEY }} @@ -198,4 +202,4 @@ jobs: secrets: inherit with: version: ${{ inputs.version }} - \ No newline at end of file +