Skip to content

Commit

Permalink
fail at end while deploying jars
Browse files Browse the repository at this point in the history
(cherry picked from commit 63701b6)
  • Loading branch information
michalmac committed Apr 11, 2021
1 parent 6d05485 commit a5a7409
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/deploy-on-pr-merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ jobs:
run: mvn -pl -distribution package --batch-mode -Dmaven.javadoc.skip -Dassembly.skipAssembly=true -DskipTests

- name: Publish jars to GitHub Packages
run: mvn -pl -distribution deploy --batch-mode -Dmaven.javadoc.skip -Dassembly.skipAssembly=true -DskipTests
# fail at end to deploy as many jars as possible
run: mvn -pl -distribution deploy --batch-mode --fail-at-end -Dmaven.javadoc.skip -Dassembly.skipAssembly=true -DskipTests
env:
GITHUB_TOKEN: ${{ github.token }}

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/deploy-on-release-created.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ jobs:
run: mvn -pl -distribution package --batch-mode -Dmaven.javadoc.skip -Dassembly.skipAssembly=true -DskipTests

- name: Publish jars to GitHub Packages
run: mvn -pl -distribution deploy --batch-mode -Dmaven.javadoc.skip -Dassembly.skipAssembly=true -DskipTests
# fail at end to deploy as many jars as possible
run: mvn -pl -distribution deploy --batch-mode --fail-at-end -Dmaven.javadoc.skip -Dassembly.skipAssembly=true -DskipTests
env:
GITHUB_TOKEN: ${{ github.token }}

Expand Down

0 comments on commit a5a7409

Please sign in to comment.