Skip to content

Commit

Permalink
Update releaseToGithubPackages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
graefjk authored Jan 3, 2024
1 parent 39b729e commit 60a7239
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/releaseToGithubPackages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ jobs:
with:
java-version: '11'
distribution: 'temurin'
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file
- name: Publish package
run: mvn --batch-mode deploy
run: ./mvnw -s "${{ github.workspace }}/scriptsAndTools/internalOrCiOnly/deploySettings.xml" deploy -Dgithub.user=$GITHUB_USER -Dgithub.token=$GITHUB_TOKEN
env:
GITHUB_USER: ${{ secrets.MAVEN_REPO_USER }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 60a7239

Please sign in to comment.