File tree 1 file changed +30
-31
lines changed
1 file changed +30
-31
lines changed Original file line number Diff line number Diff line change 1
1
name : release
2
2
3
3
on :
4
- push :
5
- tags :
6
- - ' v* '
4
+ push :
5
+ tags :
6
+ - " v* "
7
7
8
8
permissions :
9
- contents : write
9
+ contents : write
10
10
11
- ethanndickson marked this conversation as resolved.
12
11
jobs :
13
- goreleaser :
14
- runs-on : ubuntu-latest
15
- steps :
16
- - name : Checkout
17
- uses : actions/checkout@v4
18
- - name : Unshallow
19
- run : git fetch --prune --unshallow
20
- - name : Setup Go
21
- uses : actions/setup-go@v5
22
- with :
23
- go-version : 1.22.4
24
- - name : Import GPG Key
25
- id : import_gpg
26
-
27
- with :
28
- gpg_private_key : ${{ secrets.GPG_PRIVATE_KEY }}
29
- passphrase : ${{ secrets.GPG_PASSPHRASE }}
30
- - name : Run GoReleaser
31
- uses :
goreleaser/[email protected]
32
- with :
33
- version : latest
34
- args : release --clean
35
- env :
36
- GPG_FINGERPRINT : ${{ steps.import_gpg.outputs.fingerprint }}
37
- # GitHub sets this automatically
38
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
12
+ goreleaser :
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - name : Checkout
16
+ uses : actions/checkout@v4
17
+ - name : Unshallow
18
+ run : git fetch --prune --unshallow
19
+ - name : Setup Go
20
+ uses : actions/setup-go@v5
21
+ with :
22
+ go-version : 1.22.4
23
+ - name : Import GPG Key
24
+ id : import_gpg
25
+
26
+ with :
27
+ gpg_private_key : ${{ secrets.GPG_PRIVATE_KEY }}
28
+ passphrase : ${{ secrets.GPG_PASSPHRASE }}
29
+ - name : Run GoReleaser
30
+ uses :
goreleaser/[email protected]
31
+ with :
32
+ version : latest
33
+ args : release --clean
34
+ env :
35
+ GPG_FINGERPRINT : ${{ steps.import_gpg.outputs.fingerprint }}
36
+ # GitHub sets this automatically
37
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments