Skip to content

Commit

Permalink
Merge pull request #34 from MWin123/feature/20-create-pr-for-homebrew
Browse files Browse the repository at this point in the history
Add a workflow to bump the Homebrew cask version
  • Loading branch information
patschuh committed Feb 2, 2023
2 parents ce33858 + b4f27fc commit 80c06dc
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 80c06dc

Please sign in to comment.