Skip to content
This repository has been archived by the owner on Dec 31, 2021. It is now read-only.

Commit

Permalink
Update github workflow to disable nexus3's staging integration
Browse files Browse the repository at this point in the history
  • Loading branch information
flytreeleft committed Jun 26, 2020
1 parent 83629f5 commit 5fbda36
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/maven.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,10 @@ jobs:
GITHUB_USERNAME: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
# Note: the 'release' profile should be disable, we will do publish with github repository
mvn deploy -P ,-release -Dmaven.test.skip=true --settings .github/workflows/maven-settings.xml --file pom.xml
# Note: disable staging integration (buildsupport-staging.skip=true),
# it will push the artifacts to the nexus's repository which isn't owned by us
mvn clean deploy -X \
-Dbuildsupport-staging.skip=true \
-Dmaven.test.skip=true \
--settings .github/workflows/maven-settings.xml \
--file pom.xml

0 comments on commit 5fbda36

Please sign in to comment.