Skip to content

Commit

Permalink
Massage deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
tonsky committed Dec 1, 2023
1 parent 69a01f4 commit 151947d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,19 @@ jobs:
path: |
target/*.jar
target/maven/META-INF/maven/io.github.humbleui/jwm/pom.xml
- name: Print keys
run: |
echo -n "$GPG_SIGNING_KEY" | base64 --decode | gpg --import
gpg --list-keys
env:
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY_2 }}
- if: ${{ startsWith(github.ref, 'refs/tags/') }}
name: Deploy to Maven Central
run: |
echo -n "$GPG_SIGNING_KEY" | base64 --decode | gpg --import
gpg --list-keys
python3 script/release.py --only java --ref ${{ github.ref }}
env:
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY_2 }}
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}

0 comments on commit 151947d

Please sign in to comment.