Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from MWin123/feature/20-create-pr-for-homebrew
Add a workflow to bump the Homebrew cask version
- Loading branch information
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Bump Homebrew version | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
tag-name: | ||
description: 'The git tag name to bump the cask to' | ||
required: true | ||
|
||
jobs: | ||
homebrew: | ||
name: Bump Homebrew cask | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: MWin123/bump-homebrew-formula-action@v0.3.0 | ||
with: | ||
formula-name: homebrew-esque | ||
formula-path: Casks/kafkaesque.rb | ||
homebrew-tap: patschuh/homebrew-esque | ||
base-branch: main | ||
create-pullrequest: true | ||
tag-name: ${{ github.event.inputs.tag-name }} | ||
download-url: https://github.com/patschuh/KafkaEsque/releases/download/v${{ github.event.inputs.tag-name }}/kafkaesque-${{ github.event.inputs.tag-name }}.dmg | ||
env: | ||
COMMITTER_TOKEN: ${{ secrets.COMMITTER_TOKEN }} |