This repository was archived by the owner on Dec 3, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +7
-17
lines changed
Expand file tree Collapse file tree 1 file changed +7
-17
lines changed Original file line number Diff line number Diff line change 1313permissions :
1414 contents : write
1515
16- # Default values to simplify job configurations below.
17- env :
18- # Go language version to use for building. This value should also be updated
19- # in the testing workflow if changed.
20- GO_VERSION : ' 1.19'
21-
2216jobs :
2317 goreleaser :
2418 runs-on : ubuntu-latest
@@ -29,20 +23,16 @@ jobs:
2923 fetch-depth : 0
3024 - uses : actions/setup-go@v3
3125 with :
32- go-version : ${{ env.GO_VERSION }}
33- # This uses an action (hashicorp/ghaction-import-gpg) that assumes you set your
34- # private key in the `GPG_PRIVATE_KEY` secret and passphrase in the `PASSPHRASE`
35- # secret. If you would rather own your own GPG handling, please fork this action
36- # or use an alternative one for key handling.
26+ go-version-file : ' go.mod'
27+ cache : true
3728 - name : Import GPG key
29+ uses : crazy-max/ghaction-import-gpg@v5
3830 id : import_gpg
39- uses : hashicorp/ghaction-import-gpg@v2.1.0
40- env :
41- # These secrets will need to be configured for the repository:
42- GPG_PRIVATE_KEY : ${{ secrets.GPG_PRIVATE_KEY }}
43- PASSPHRASE : ${{ secrets.PASSPHRASE }}
31+ with :
32+ gpg_private_key : ${{ secrets.GPG_PRIVATE_KEY }}
33+ passphrase : ${{ secrets.PASSPHRASE }}
4434 - name : Run GoReleaser
45- uses : goreleaser/goreleaser-action@v3.1.0
35+ uses : goreleaser/goreleaser-action@v3
4636 with :
4737 args : release --rm-dist
4838 env :
You can’t perform that action at this time.
0 commit comments