Skip to content

Commit

Permalink
Bugfix/java api client publish action (treeverse#2269)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyaug authored Jul 25, 2021
1 parent 8bbb14b commit babbaa7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/java-api-client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ jobs:
- name: Set up Java and Maven Central Repository
uses: actions/setup-java@v2
with:
java-version: '8'
java-version: '11'
distribution: 'adopt'
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Build and publish package
working-directory: clients/java
run: mvn --batch-mode deploy
run: mvn --batch-mode deploy -Dgpg.executable="${GITHUB_WORKSPACE}/scripts/gpg_loopback.sh" --activate-profiles sign-artifacts
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
2 changes: 2 additions & 0 deletions scripts/gpg_loopback.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
gpg --pinentry-mode loopback "$@"

0 comments on commit babbaa7

Please sign in to comment.