mirror of https://github.com/sgoudham/git-view.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1019 B
YAML
33 lines
1019 B
YAML
2 years ago
|
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 }}
|