Skip to content

Commit

Permalink
ci: refinement of deploy snapshot action
Browse files Browse the repository at this point in the history
  • Loading branch information
bsorrentino committed Aug 7, 2024
1 parent ee0fb02 commit 4063d2b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy-snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
if: steps.check-snapshot.outputs.is_snapshot == 'true'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OSS_SONATYPE_TOKEN: ${{ secrets.OSS_SONATYPE_TOKEN }}
run: mvn -B clean deploy --file pom.xml -s settings-template.xml
- name: Set up JDK 17
uses: actions/setup-java@v4
Expand All @@ -45,4 +46,5 @@ jobs:
if: steps.check-snapshot.outputs.is_snapshot == 'true'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OSS_SONATYPE_TOKEN: ${{ secrets.OSS_SONATYPE_TOKEN }}
run: mvn -B -pl server-jetty clean deploy --file pom.xml -s settings-template.xml

0 comments on commit 4063d2b

Please sign in to comment.