File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 1-
21# This GitHub action can publish assets for release when a tag is created.
32# Currently its setup to run on any tag that matches the pattern "v*" (ie. v0.1.0).
43#
5- # This uses an action (hashicorp/ghaction-import-gpg) that assumes you set your
4+ # This uses an action (hashicorp/ghaction-import-gpg) that assumes you set your
65# private key in the `GPG_PRIVATE_KEY` secret and passphrase in the `PASSPHRASE`
76# secret. If you would rather own your own GPG handling, please fork this action
87# or use an alternative one for key handling.
98#
10- # You will need to pass the `--batch` flag to `gpg` in your signing step
9+ # You will need to pass the `--batch` flag to `gpg` in your signing step
1110# in `goreleaser` to indicate this is being used in a non-interactive mode.
1211#
1312name : release
@@ -21,15 +20,16 @@ jobs:
2120 steps :
2221 -
2322 name : Checkout
24- uses : actions/checkout@v2.4.0
23+ uses : actions/checkout@v3
2524 -
2625 name : Unshallow
2726 run : git fetch --prune --unshallow
2827 -
2928 name : Set up Go
30- uses : actions/setup-go@v2
29+ uses : actions/setup-go@v3
3130 with :
32- go-version : 1.17
31+ go-version-file : ' go.mod'
32+ cache : true
3333 -
3434 name : Import GPG key
3535 id : import_gpg
4040 PASSPHRASE : ${{ secrets.PASSPHRASE }}
4141 -
4242 name : Run GoReleaser
43- uses : goreleaser/goreleaser-action@v2
43+ uses : goreleaser/goreleaser-action@v3.0.0
4444 with :
4545 version : latest
4646 args : release --rm-dist
You can’t perform that action at this time.
0 commit comments