File tree Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ name: Release
66on :
77 push :
88 tags :
9- - " v* "
9+ - ' v* '
1010
1111# Releases need permissions to read and write the repository contents.
1212# GitHub considers creating releases and uploading assets as writing contents.
@@ -17,24 +17,24 @@ jobs:
1717 goreleaser :
1818 runs-on : ubuntu-latest
1919 steps :
20- - uses : actions/checkout@v4
20+ - uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
2121 with :
2222 # Allow goreleaser to access older tag information.
2323 fetch-depth : 0
24- - uses : actions/setup-go@v5
24+ - uses : actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
2525 with :
26- go-version-file : " go.mod"
26+ go-version-file : ' go.mod'
2727 cache : true
2828 - name : Import GPG key
29- uses : crazy-max/ghaction-import-gpg@v6
29+ uses : crazy-max/ghaction-import-gpg@01dd5d3ca463c7f10f7f4f7b4f177225ac661ee4 # v6.1.0
3030 id : import_gpg
3131 with :
3232 gpg_private_key : ${{ secrets.GPG_PRIVATE_KEY }}
3333 passphrase : ${{ secrets.PASSPHRASE }}
3434 - name : Run GoReleaser
35- uses :
goreleaser/[email protected] 35+ uses : goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0
3636 with :
37- args : release --rm-dist
37+ args : release --clean
3838 env :
3939 # GitHub sets the GITHUB_TOKEN secret automatically.
4040 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 11# Visit https://goreleaser.com for documentation on how to customize this
22# behavior.
3+ version : 2
34before :
45 hooks :
56 # this is just an example and not a requirement for provider building/publishing
67 - go mod tidy
78builds :
89- env :
910 # goreleaser does not work with CGO, it could also complicate
10- # usage by users in CI/CD systems like Terraform Cloud where
11+ # usage by users in CI/CD systems like HCP Terraform where
1112 # they are unable to install libraries.
1213 - CGO_ENABLED=0
1314 mod_timestamp : ' {{ .CommitTimestamp }}'
@@ -57,4 +58,4 @@ release:
5758 # If you want to manually examine the release before its live, uncomment this line:
5859 # draft: true
5960changelog :
60- skip : true
61+ disable : true
You can’t perform that action at this time.
0 commit comments