File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 88jobs :
99 goreleaser :
1010 runs-on : ubuntu-latest
11- env :
12- RELEASE_VERSION : ${{ steps.vars.outputs.tag }}
1311 steps :
1412 - name : Checkout
1513 uses : actions/checkout@v2
1614 with :
1715 fetch-depth : 0
16+ - name : Set env
17+ run : echo "REF_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
1818 - name : Set up Go
1919 uses : actions/setup-go@v2
2020 with :
2828 env :
2929 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3030 - name : force sync pkg.go.dev
31- run : |
32- curl https://sum.golang.org/lookup/github.com/oom-ai/oomstore@$RELEASE_VERSION
31+ run : curl https://sum.golang.org/lookup/github.com/oom-ai/oomstore@${{ env.REF_TAG }}
32+ - name : Bump Homebrew formula
33+ uses : mislav/bump-homebrew-formula-action@v1
34+ with :
35+ formula-name : oomcli
36+ homebrew-tap : oom-ai/homebrew-oom-ai
37+ download-url : https://github.com/oom-ai/oomstore/releases/download/${{ env.REF_TAG }}/oomstore-${{ env.REF_TAG }}-amd64-darwin.tar.gz
38+ env :
39+ COMMITTER_TOKEN : ${{ secrets.HOMEBREW_COMMITTER_TOKEN }}
You can’t perform that action at this time.
0 commit comments