File tree 1 file changed +11
-5
lines changed
1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change 34
34
- name : Set up GPG
35
35
uses : olafurpg/setup-gpg@v3
36
36
37
+ - name : Import GPG
38
+ uses : crazy-max/ghaction-import-gpg@v6
39
+ with :
40
+ gpg_private_key : ${{ secrets.OSS_SIGNING_KEY_ID }}
41
+ passphrase : ${{ secrets.OSS_SIGNING_PASSWORD }}
42
+
37
43
# Step to grant execute permissions to the Gradle wrapper script
38
44
- name : Grant execute permission for gradlew
39
45
run : chmod +x gradlew
@@ -53,11 +59,11 @@ jobs:
53
59
- name : create secring.gpg file
54
60
run : gpg --export-secret-keys -o secring.gpg
55
61
56
- - name : Decode and set up GPG secring file
57
- env :
58
- GPG_SECRET_RING : ${{ secrets.SECRET_FILE_CONTENT }}
59
- run : |
60
- echo "$GPG_SECRET_RING" >> secring.gpg
62
+ # - name: Decode and set up GPG secring file
63
+ # env:
64
+ # GPG_SECRET_RING: ${{ secrets.SECRET_FILE_CONTENT }}
65
+ # run: |
66
+ # echo "$GPG_SECRET_RING" >> secring.gpg
61
67
62
68
- name : Add secret file loc to gradle.properties
63
69
run : echo "signing.secretKeyRingFile=secring.gpg" >> gradle.properties
You can’t perform that action at this time.
0 commit comments