File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 51
51
- name : Checkout
52
52
uses : actions/checkout@v3
53
53
54
+ # Even though the build itself is done using the GraalVM JDK
55
+ # (see below), we use the setup-java action to have GPG configured
56
+ # so that it can be used from the maven-gpg-plugin.
57
+ - name : Configure GPG
58
+ uses : actions/setup-java@v3
59
+ with :
60
+ distribution : ' temurin'
61
+ java-version : ' 17'
62
+ gpg-private-key : ${{ secrets.PGP_KEY }}
63
+ gpg-passphrase : PGP_KEY_PASSWORD
64
+ overwrite-settings : false
65
+
54
66
- name : Setup JDK
55
67
uses : graalvm/setup-graalvm@v1
56
68
with :
94
106
cd tools/samm-cli/target
95
107
chmod a+x samm
96
108
tar cfvz samm-cli-linux.tar.gz samm
109
+ env :
110
+ PGP_KEY_PASSWORD : ${{ secrets.PGP_KEY_PASSWORD }}
97
111
98
112
- name : Upload staging directory and Linux binary
99
113
uses : actions/upload-artifact@v3
@@ -184,8 +198,6 @@ jobs:
184
198
server-id : ossrh
185
199
server-username : OSSRH_USERNAME
186
200
server-password : OSSRH_TOKEN
187
- gpg-private-key : ${{ secrets.PGP_KEY }}
188
- gpg-passphrase : PGP_KEY_PASSWORD
189
201
overwrite-settings : false
190
202
191
203
- name : Fetch Linux Artifacts
You can’t perform that action at this time.
0 commit comments