File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release to Homebrew
2+ on :
3+ workflow_dispatch :
4+ inputs :
5+ version :
6+ type : string
7+ description : " Version"
8+ required : true
9+ default : " 0.7.9"
10+
11+ jobs :
12+ # https://github.com/mislav/bump-homebrew-formula-action
13+ publish-to-brew :
14+ name : post / homebrew
15+ runs-on : macos-latest
16+ steps :
17+ - name : Get version from input
18+ run : |
19+ echo RELEASE_VERSION=${{ github.event.inputs.version }} >> $GITHUB_ENV
20+ echo COMMITTER_TOKEN=${{ secrets.GITHUB_TOKEN }} >> $GITHUB_ENV
21+ shell : bash
22+ - uses : mislav/bump-homebrew-formula-action@v3
23+ # this action needs the COMMITTER_TOKEN to be set in the environment from above
24+ with :
25+ formula-name : t-rec
26+ tag-name : v${{ env.RELEASE_VERSION }}
You can’t perform that action at this time.
0 commit comments