File tree Expand file tree Collapse file tree 1 file changed +13
-14
lines changed Expand file tree Collapse file tree 1 file changed +13
-14
lines changed Original file line number Diff line number Diff line change 77
88jobs :
99 release :
10-
10+ name : Publish Release
1111 runs-on : ubuntu-latest
12-
1312 steps :
13+ - name : Get version slug
14+ id : get_version
15+ run : echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
1416 - name : Checkout
1517 uses : actions/checkout@v1
1618 - name : Package
@@ -22,15 +24,12 @@ jobs:
2224 files : archive-fusionvm.tar.gz
2325 env :
2426 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
25- homebrew :
26- name : Bump Homebrew formula
27- runs-on : ubuntu-latest
28- steps :
29- 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 }}
27+ - name : Bump Homebrew formula
28+ 29+ # if: "!contains(github.ref, '-')" # skip prereleases
30+ with :
31+ formula-name : archive-fusionvm
32+ homebrew-tap : nreilingh/nreilingh
33+ download-url : https://github.com/NReilingh/archive-fusionvm/releases/download/${{ steps.get_version.outputs.VERSION }}/archive-fusionvm.tar.gz
34+ env :
35+ COMMITTER_TOKEN : ${{ secrets.COMMITTER_TOKEN }}
You can’t perform that action at this time.
0 commit comments