Skip to content

Commit

Permalink
attempt to sign releases for maven central
Browse files Browse the repository at this point in the history
  • Loading branch information
pabender committed Jul 26, 2020
1 parent d08a5bd commit adf6595
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 16 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/HoldYourHorses.yml

This file was deleted.

7 changes: 6 additions & 1 deletion .github/workflows/PublishToMavenCentral.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- id: install-secret-key
name: Install gpg secret key
run: |
cat <(echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}") | gpg --batch --import
gpg --list-secret-keys --keyid-format LONG
- name: Set up Maven Central Repository
uses: actions/setup-java@v1
with:
Expand All @@ -16,7 +21,7 @@ jobs:
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Publish package
run: xvfb-run --auto-servernum mvn -B deploy
run: xvfb-run --auto-servernum mvn -B -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} clean deploy
env:
DISPLAY: ":99.0"
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
Expand Down

0 comments on commit adf6595

Please sign in to comment.