Skip to content

Commit

Permalink
Trying to get maven publish working
Browse files Browse the repository at this point in the history
  • Loading branch information
varunratnakar authored Jul 31, 2024
1 parent 09eb758 commit 1049a04
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,9 @@ jobs:

- name: Build with Maven
run: mvn -B package --file pom.xml

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

- name: Publish to GitHub Packages Apache Maven
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml
run: mvn deploy
env:
GITHUB_USERNAME: ${{ secrets.GITHUB_USERNAME }}
GITHUB_TOKEN: ${{ github.token }}

0 comments on commit 1049a04

Please sign in to comment.