Skip to content

Commit

Permalink
cannot deploy on release
Browse files Browse the repository at this point in the history
  • Loading branch information
homebeaver committed Dec 23, 2024
1 parent 9f0f5ef commit 451c4e2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven_buld.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ jobs:
# pre-integration-test, integration-test, post-integration-test, verify, install, deploy,
# pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy.
# run: mvn -V --batch-mode -Ddoclint=all --file pom.xml --no-transfer-progress test
run: mvn -V --batch-mode package
# run: mvn -V --batch-mode -Ddoclint=all --file pom.xml --no-transfer-progress verify
# run: mvn -V --batch-mode package
run: mvn -V --batch-mode -Ddoclint=all --file pom.xml --no-transfer-progress verify
11 changes: 9 additions & 2 deletions .github/workflows/maven_deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,15 @@ jobs:
gpg-private-key: ${{ secrets.SIGN_KEY }} # has to be read directly from secrets
# gpg-passphrase: SIGN_KEY_PASS # deprecated default name used by maven-gpg-plugin
- name: Publish package
run: mvn --batch-mode deploy
# run: mvn -V --errors --show-version --batch-mode --no-transfer-progress -Ddoclint=all deploy
# Available lifecycle phases are:
# validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile,
# process-classes, generate-test-sources, process-test-sources, generate-test-resources,
# process-test-resources, test-compile, process-test-classes, test,
# prepare-package, package,
# pre-integration-test, integration-test, post-integration-test, verify, install, deploy,
# pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy.
# run: mvn --batch-mode deploy
run: mvn -V --errors --show-version --batch-mode --no-transfer-progress -Ddoclint=all deploy
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
Expand Down

0 comments on commit 451c4e2

Please sign in to comment.