Skip to content

Commit

Permalink
Add a workflow to bump the Homebrew cask version
Browse files Browse the repository at this point in the history
Currently, the workflow is triggered manually. If it works as expected, it can be added to the existing "Gradle Build" workflow. Fixes #20.
  • Loading branch information
MWin123 committed Jan 31, 2023
1 parent ce33858 commit b4f27fc
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/bump.yaml
@@ -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 }}

0 comments on commit b4f27fc

Please sign in to comment.