Skip to content

Commit

Permalink
Use correct command to publish library in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickfav committed Mar 12, 2023
1 parent 840ef64 commit 666ff39
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,10 @@ jobs:
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
- name: Publish package
# prepare bcrypt with verify, stage and then release, after that build all modules to upload to github
run: ./mvnw -B verify -DskipTests
# prepare with verify, stage and then release, after that build all modules to upload to github
run: |
./mvnw -B verify nexus-staging:deploy -P deploy -DskipTests && \
./mvnw -B nexus-staging:release -P deploy
env:
OPENSOURCE_PROJECTS_KS_PW: ${{ secrets.KEYSTORE_PASSWORD }}
OPENSOURCE_PROJECTS_KEY_PW: ${{ secrets.KEYSTORE_KEY_PASSWORD }}
Expand Down

0 comments on commit 666ff39

Please sign in to comment.