File tree 1 file changed +15
-2
lines changed 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change 16
16
- ' v*'
17
17
jobs :
18
18
goreleaser :
19
- runs-on : ubuntu-latest
19
+ runs-on : ubuntu-20.04
20
20
steps :
21
21
-
22
22
name : Checkout
@@ -32,10 +32,23 @@ jobs:
32
32
-
33
33
name : Import GPG key
34
34
id : import_gpg
35
- uses :
paultyng /[email protected] .0
35
+ uses :
yanndegat /[email protected] .1-testkeygrips
36
36
env :
37
37
GPG_PRIVATE_KEY : ${{ secrets.GPG_PRIVATE_KEY }}
38
38
PASSPHRASE : ${{ secrets.PASSPHRASE }}
39
+ # -
40
+ # name: Reload gpg agent
41
+ # id: reload-gpg-agent
42
+ # run: |
43
+ # /bin/sh -c 'gpg --version; dpkg -l | grep -e gnupg -e gpg ; gpg-connect-agent reloadagent /bye; cat ~/.gnupg/gpg-agent.conf'
44
+ # -
45
+ # name: Preset passphrase
46
+ # id: preset_gpg_passphrase
47
+ # run: |
48
+ # /bin/sh -c 'for i in $(gpg --list-keys --with-keygrip --with-colons "$GPG_FINGERPRINT" | grep "^grp:" | cut -d: -f10); do echo "$GPG_PASSPHRASE" | /usr/lib/gnupg/gpg-preset-passphrase --preset $i; done'
49
+ # env:
50
+ # GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
51
+ # PASSPHRASE: ${{ secrets.PASSPHRASE }}
39
52
-
40
53
name : Run GoReleaser
41
54
uses : goreleaser/goreleaser-action@v2
You can’t perform that action at this time.
0 commit comments