File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Release
1+ name : goreleaser
22
33on :
4+ workflow_dispatch :
45 push :
56 tags :
6- - ' v[0-9]+.[0-9]+.[0-9]+ '
7+ - ' ** '
78
89jobs :
910 goreleaser :
1011 runs-on : ubuntu-latest
1112 steps :
12- - name : Checkout repository
13- uses : actions/checkout@v3
13+ - name : Checkout
14+ uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
1415 with :
15- submodules : recursive
16+ fetch-depth : 0
1617
17- - name : Setup Go
18- uses : actions/setup-go@v4
18+ - name : Set up Go
19+ uses : actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
20+ with :
21+ go-version-file : " go.mod"
22+ check-latest : true
1923
2024 - name : Get build date
2125 id : date
3842 run : echo "::set-output name=go::$(go version | cut -d ' ' -f 3)"
3943
4044 - name : Run GoReleaser
41- uses : goreleaser/goreleaser-action@v5
45+ uses : goreleaser/goreleaser-action@336e29918d653399e599bfca99fadc1d7ffbc9f7 # v4.3.0
4246 with :
4347 version : latest
4448 args : release
You can’t perform that action at this time.
0 commit comments