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 13
13
permissions :
14
14
contents : write
15
15
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
-
22
16
jobs :
23
17
goreleaser :
24
18
runs-on : ubuntu-latest
@@ -29,20 +23,16 @@ jobs:
29
23
fetch-depth : 0
30
24
- uses : actions/setup-go@v3
31
25
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
37
28
- name : Import GPG key
29
+ uses : crazy-max/ghaction-import-gpg@v5
38
30
id : import_gpg
39
-
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 }}
44
34
- name : Run GoReleaser
45
- uses : goreleaser/goreleaser-action@v3.1.0
35
+ uses : goreleaser/goreleaser-action@v3
46
36
with :
47
37
args : release --rm-dist
48
38
env :
You can’t perform that action at this time.
0 commit comments