Skip to content

Commit 151947d

Browse files
committed
Massage deploy script
1 parent 69a01f4 commit 151947d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/build-deploy.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,19 @@ jobs:
8282
path: |
8383
target/*.jar
8484
target/maven/META-INF/maven/io.github.humbleui/jwm/pom.xml
85+
- name: Print keys
86+
run: |
87+
echo -n "$GPG_SIGNING_KEY" | base64 --decode | gpg --import
88+
gpg --list-keys
89+
env:
90+
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY_2 }}
8591
- if: ${{ startsWith(github.ref, 'refs/tags/') }}
8692
name: Deploy to Maven Central
8793
run: |
8894
echo -n "$GPG_SIGNING_KEY" | base64 --decode | gpg --import
95+
gpg --list-keys
8996
python3 script/release.py --only java --ref ${{ github.ref }}
9097
env:
91-
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
98+
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY_2 }}
9299
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
93100
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}

0 commit comments

Comments
 (0)