Skip to content

Commit

Permalink
Change order of verify, stage, release and package all modules
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickfav committed Feb 12, 2023
1 parent bcae4db commit 56b2d6a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,11 @@ 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 package -DskipTests && \
./mvnw -B nexus-staging:deploy -P deploy,!allmodules,mainmodule && \
./mvnw -B nexus-staging:release -P deploy,!allmodules,mainmodule
./mvnw -B verify nexus-staging:deploy -P deploy,!allmodules,mainmodule -DskipTests && \
./mvnw -B nexus-staging:release -P deploy,!allmodules,mainmodule && \
./mvnw -B verify package -DskipTests
env:
OPENSOURCE_PROJECTS_KS_PW: ${{ secrets.KEYSTORE_PASSWORD }}
OPENSOURCE_PROJECTS_KEY_PW: ${{ secrets.KEYSTORE_KEY_PASSWORD }}
Expand Down

0 comments on commit 56b2d6a

Please sign in to comment.