From 56b2d6af8e1f4e0ba32a416c1ac500e1511c66e5 Mon Sep 17 00:00:00 2001 From: Patrick Favre-Bulle Date: Sun, 12 Feb 2023 21:09:36 +0100 Subject: [PATCH] Change order of verify, stage, release and package all modules --- .github/workflows/build_deploy.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_deploy.yml b/.github/workflows/build_deploy.yml index ab05366..5787fac 100644 --- a/.github/workflows/build_deploy.yml +++ b/.github/workflows/build_deploy.yml @@ -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 }}