Skip to content

Commit 68b45b4

Browse files
authored
Update github action for bumping homebrew formula
Not sure if the GITHUB_REF variable is going to work...
1 parent 513891f commit 68b45b4

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/release.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,15 @@ jobs:
2222
files: archive-fusionvm.tar.gz
2323
env:
2424
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
homebrew:
26+
name: Bump Homebrew formula
27+
runs-on: ubuntu-latest
28+
steps:
29+
- uses: mislav/[email protected]
30+
#if: "!contains(github.ref, '-')" # skip prereleases
31+
with:
32+
formula-name: archive-fusionvm
33+
homebrew-tap: nreilingh/nreilingh
34+
download-url: https://github.com/NReilingh/archive-fusionvm/releases/download/$GITHUB_REF/archive-fusionvm.tar.gz
35+
env:
36+
COMMITTER_TOKEN: ${{ secrets.COMMITTER_TOKEN }}

0 commit comments

Comments
 (0)