File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed
Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 22name : CI
33
44on :
5- pull_request_target :
6- branches :
7- - ' main '
8- - ' release/** '
5+ pull_request :
6+
7+ permissions :
8+ contents : write
99
1010jobs :
1111 fmt :
6060 uses : goreleaser/goreleaser-action@v6
6161 with :
6262 version : " ~> v2"
63- args : release --clean --skip=publish
63+ args : release --clean --skip=publish --snapshot
6464 env :
6565 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6666 GPG_FINGERPRINT : ${{ steps.import_gpg.outputs.fingerprint }}
67-
67+ BUILDVERSION : ${{ env.BUILDVERSION }}
Original file line number Diff line number Diff line change 1818 tags :
1919 - " v*"
2020
21+ permissions :
22+ contents : write
23+
2124jobs :
2225 goreleaser :
2326 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ builds:
2828 goarch : ' 386'
2929 binary : ' {{ .ProjectName }}_v{{ .Version }}'
3030archives :
31- - format : zip
31+ - formats : [" zip"]
3232 name_template : ' {{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
3333checksum :
3434 name_template : ' {{ .ProjectName }}_{{ .Version }}_SHA256SUMS'
You can’t perform that action at this time.
0 commit comments