File tree 1 file changed +5
-16
lines changed
1 file changed +5
-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 (paultyng/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
- name : release
1
+ name : Release
13
2
14
3
on :
15
4
push :
@@ -33,10 +22,10 @@ jobs:
33
22
34
23
- name : Import GPG key
35
24
id : import_gpg
36
- uses : paultyng /ghaction-import-gpg@v2.1.0
37
- env :
38
- GPG_PRIVATE_KEY : ${{ secrets.GPG_PRIVATE_KEY }}
39
- PASSPHRASE : ${{ secrets.PASSPHRASE }}
25
+ uses : crazy-max /ghaction-import-gpg@v3
26
+ with :
27
+ gpg-private-key : ${{ secrets.GPG_PRIVATE_KEY }}
28
+ passphrase : ${{ secrets.PASSPHRASE }}
40
29
41
30
- name : Run GoReleaser
42
31
uses : goreleaser/goreleaser-action@v2
You can’t perform that action at this time.
0 commit comments