ci: Allow manual bump of homebrew formula

pull/6/head^2
sgoudham 2 years ago
parent aedf33931d
commit 4fe0ec6334
Signed by: hammy
GPG Key ID: 44E818FD5457EEA4

@ -0,0 +1,32 @@
name: bump-homebrew-formula
on:
workflow_dispatch:
inputs:
tag-name:
description: 'The git tag name to bump the formula to'
required: true
env:
bin: git-view
jobs:
homebrew:
name: Bump Homebrew formula
runs-on: ubuntu-latest
steps:
- uses: mislav/bump-homebrew-formula-action@v2
with:
create-pullrequest: true
formula-name: ${{ env.bin }}
formula-path: Formula/${{ env.bin }}.rb
tag-name: ${{ github.event.inputs.tag-name }}
download-url: https://github.com/sgoudham/${{ env.bin }}/releases/download/${{ github.event.inputs.tag-name }}/${{ env.bin }}-x86_64-apple-darwin.tar.gz
commit-message: |
{{formulaName}} -> {{version}}
Created by https://github.com/mislav/bump-homebrew-formula-action
download-url: https://example.com/foo/${{ github.event.inputs.tag-name }}.tar.gz
env:
env:
COMMITTER_TOKEN: ${{ secrets.HOMEBREW }}
Loading…
Cancel
Save