Skip to content

Commit

Permalink
Update maven-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
varunratnakar authored Jul 31, 2024
1 parent 97980fa commit 78b33d4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ jobs:
- name: Build with Maven
run: mvn -B package --file pom.xml

- name: Configure GPG Key
run: |
echo -n "$OSSRH_GPG_SIGNING_KEY" | base64 --decode | gpg --import
env:
GPG_SIGNING_KEY: ${{ secrets.OSSRH_GPG_SIGNING_KEY }}

- name: Publish to GitHub Packages Apache Maven
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml
env:
Expand Down

0 comments on commit 78b33d4

Please sign in to comment.