Skip to content

Commit

Permalink
Update master-branch-pipeline.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dotasek authored Nov 25, 2024
1 parent d74860b commit 1c997b5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions master-branch-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,16 +92,16 @@ steps:
inputs:
mavenPomFile: '$(System.DefaultWorkingDirectory)/pom.xml'
goals: deploy
options: '--settings $(System.DefaultWorkingDirectory)/settings.xml -DdeployToSonatype'
options: '--settings $(System.DefaultWorkingDirectory)/settings.xml -Dmaven.test.skip -DdeployToSonatype'
publishJUnitResults: false

# Deploy the SNAPSHOT artifact to GitHub packages.
# This is done for the master branch merges only.
- task: Maven@4
enabled: false
displayName: 'Deploy $(module) to Sonatype staging'
#enabled: false
displayName: 'Deploy $(module) to GitHub Packages'
inputs:
mavenPomFile: '$(System.DefaultWorkingDirectory)/pom.xml'
goals: deploy
options: '--settings $(System.DefaultWorkingDirectory)/settings.xml -Dmaven.test.skip -DdeployToGitHub'
publishJUnitResults: false
publishJUnitResults: false

0 comments on commit 1c997b5

Please sign in to comment.