Skip to content

Commit

Permalink
maven.yml Update
Browse files Browse the repository at this point in the history
  • Loading branch information
rikkarth committed Dec 8, 2023
1 parent 53c76db commit 036ff2c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
git tag -a "$VERSION" -m "Release $VERSION"
git push origin "$VERSION"
publish:
publish-nexus:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
permissions:
Expand All @@ -75,6 +75,14 @@ jobs:
gpg_passphrase: ${{ secrets.gpg_passphrase }}
nexus_username: ${{ secrets.nexus_username }}
nexus_password: ${{ secrets.nexus_password }}

publish-github:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
steps:
- uses: actions/checkout@v4
- name: Set up Java for publishing to GitHub Packages
uses: actions/setup-java@v3
with:
Expand Down

0 comments on commit 036ff2c

Please # to comment.