Skip to content

Commit 666ff39

Browse files
committed
Use correct command to publish library in github actions
1 parent 840ef64 commit 666ff39

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build_deploy.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,10 @@ jobs:
7676
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
7777
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
7878
- name: Publish package
79-
# prepare bcrypt with verify, stage and then release, after that build all modules to upload to github
80-
run: ./mvnw -B verify -DskipTests
79+
# prepare with verify, stage and then release, after that build all modules to upload to github
80+
run: |
81+
./mvnw -B verify nexus-staging:deploy -P deploy -DskipTests && \
82+
./mvnw -B nexus-staging:release -P deploy
8183
env:
8284
OPENSOURCE_PROJECTS_KS_PW: ${{ secrets.KEYSTORE_PASSWORD }}
8385
OPENSOURCE_PROJECTS_KEY_PW: ${{ secrets.KEYSTORE_KEY_PASSWORD }}

0 commit comments

Comments
 (0)