Skip to content

Commit 56b2d6a

Browse files
committed
Change order of verify, stage, release and package all modules
1 parent bcae4db commit 56b2d6a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/build_deploy.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,11 @@ jobs:
5050
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
5151
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
5252
- name: Publish package
53+
# prepare bcrypt with verify, stage and then release, after that build all modules to upload to github
5354
run: |
54-
./mvnw -B verify package -DskipTests && \
55-
./mvnw -B nexus-staging:deploy -P deploy,!allmodules,mainmodule && \
56-
./mvnw -B nexus-staging:release -P deploy,!allmodules,mainmodule
55+
./mvnw -B verify nexus-staging:deploy -P deploy,!allmodules,mainmodule -DskipTests && \
56+
./mvnw -B nexus-staging:release -P deploy,!allmodules,mainmodule && \
57+
./mvnw -B verify package -DskipTests
5758
env:
5859
OPENSOURCE_PROJECTS_KS_PW: ${{ secrets.KEYSTORE_PASSWORD }}
5960
OPENSOURCE_PROJECTS_KEY_PW: ${{ secrets.KEYSTORE_KEY_PASSWORD }}

0 commit comments

Comments
 (0)