Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix for homebrew update process #185

Merged
merged 1 commit into from
Apr 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 }}