File tree Expand file tree Collapse file tree 1 file changed +4
-16
lines changed Expand file tree Collapse file tree 1 file changed +4
-16
lines changed Original file line number Diff line number Diff line change 1
- # This GitHub action can publish assets for release when a tag is created.
2
- # Currently its setup to run on any tag that matches the pattern "v*" (ie. v0.1.0).
3
- #
4
- # This uses an action (hashicorp/ghaction-import-gpg) that assumes you set your
5
- # private key in the `GPG_PRIVATE_KEY` secret and passphrase in the `PASSPHRASE`
6
- # secret. If you would rather own your own GPG handling, please fork this action
7
- # or use an alternative one for key handling.
8
- #
9
- # You will need to pass the `--batch` flag to `gpg` in your signing step
10
- # in `goreleaser` to indicate this is being used in a non-interactive mode.
11
- #
12
1
name : release
13
2
on :
14
3
push :
21
10
-
22
11
name : Checkout
23
12
uses : actions/checkout@v4
24
- -
25
- name : Unshallow
26
- run : git fetch --prune --unshallow
13
+ with :
14
+ fetch-depth : 0
27
15
-
28
16
name : Set up Go
29
17
uses : actions/setup-go@v5
@@ -32,13 +20,13 @@ jobs:
32
20
-
33
21
name : Import GPG key
34
22
id : import_gpg
35
- uses : crazy-max/ghaction-import-gpg@v4
23
+ uses : crazy-max/ghaction-import-gpg@v6
36
24
with :
37
25
gpg_private_key : ${{ secrets.GPG_PRIVATE_KEY }}
38
26
passphrase : ${{ secrets.PASSPHRASE }}
39
27
-
40
28
name : Run GoReleaser
41
- uses : goreleaser/goreleaser-action@v6.0.0
29
+ uses : goreleaser/goreleaser-action@v6
42
30
with :
43
31
version : latest
44
32
args : release --clean
You can’t perform that action at this time.
0 commit comments