Skip to content

Commit

Permalink
ci: Use envVars directly in deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
SMadani committed May 30, 2024
1 parent 95ab44a commit fc3fb0d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,7 @@ jobs:
MAVEN_USERNAME: ${{ secrets.OSS_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSS_PASSWORD }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.SIGNING_PASSWORD }}
run: mvn --no-transfer-progress --batch-mode deploy -P release-sign-artifacts
run: |
OSS_USERNAME=$OSS_USERNAME OSS_PASSWORD=$OSS_PASSWORD
MAVEN_GPG_PASSPHRASE=$MAVEN_GPG_PASSPHRASE
mvn --no-transfer-progress --batch-mode deploy -P release-sign-artifacts

0 comments on commit fc3fb0d

Please sign in to comment.