Skip to content

Commit

Permalink
fix for homebrew update process (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
jandroav authored Apr 1, 2024
1 parent 1471f09 commit a31cdf2
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -198,4 +202,4 @@ jobs:
secrets: inherit
with:
version: ${{ inputs.version }}


0 comments on commit a31cdf2

Please sign in to comment.