Skip to content

Commit

Permalink
use -ntp for all maven ci usage
Browse files Browse the repository at this point in the history
  • Loading branch information
eidottermihi committed Mar 25, 2024
1 parent 5ecd471 commit 8c36fe1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
distribution: "temurin"
cache: "maven"
- name: Build with Maven
run: mvn -B verify -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN
run: mvn -B -ntp verify
- name: JUnit Report Action
uses: mikepenz/[email protected]
if: success() || failure() # always run even if the previous step fails
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ jobs:
server-username: CENTRAL_USERNAME
server-password: CENTRAL_PASSWORD
gpg-private-key: ${{ secrets.gpg_private_key }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE
gpg-passphrase: MAVEN_GPG_PASSPHRASE

- name: Perform maven release
run: >
mvn -B -ntp release:prepare release:perform
-DreleaseVersion=${{ github.event.inputs.release-version }}
-DdevelopmentVersion=${{ github.event.inputs.development-version }}
-Dtag=${{ github.event.inputs.release-tag }}
-Darguments="-DskipTests"
-Darguments="-DskipTests -ntp"
env:
MAVEN_GPG_PASSPHRASE: ${{ secrets.gpg_passphrase }}
CENTRAL_USERNAME: ${{ secrets.sonatype_username }}
Expand Down

0 comments on commit 8c36fe1

Please sign in to comment.