No progress information for Maven

This commit is contained in:
Nanne Baars 2021-12-19 14:46:33 +01:00 committed by Nanne Baars
parent ac4b06f11b
commit a42f8fcf75
3 changed files with 6 additions and 6 deletions

View File

@ -25,7 +25,7 @@ jobs:
key: ubuntu-latest-m2-${{ hashFiles('**/pom.xml') }} key: ubuntu-latest-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ubuntu-latest-m2 restore-keys: ubuntu-latest-m2
- name: Test with Maven - name: Test with Maven
run: mvn install -DskipTests run: mvn --no-transfer-progress install -DskipTests
testing: testing:
if: "github.repository != 'WebGoat/WebGoat'" if: "github.repository != 'WebGoat/WebGoat'"
@ -34,8 +34,8 @@ jobs:
strategy: strategy:
matrix: matrix:
args: args:
- mvn -pl '!webgoat-integration-tests' test - mvn --no-transfer-progress -pl '!webgoat-integration-tests' test
- mvn -pl webgoat-integration-tests test - mvn --no-transfer-progress -pl webgoat-integration-tests test
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: set up JDK 17 - name: set up JDK 17

View File

@ -42,4 +42,4 @@ jobs:
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2 restore-keys: ${{ runner.os }}-m2
- name: Build with Maven - name: Build with Maven
run: mvn package run: mvn --no-transfer-progress package

View File

@ -38,8 +38,8 @@ jobs:
echo "WEBGOAT_MAVEN_VERSION=${WEBGOAT_MAVEN_VERSION:1}" >> $GITHUB_ENV echo "WEBGOAT_MAVEN_VERSION=${WEBGOAT_MAVEN_VERSION:1}" >> $GITHUB_ENV
- name: Build with Maven - name: Build with Maven
run: | run: |
mvn versions:set -DnewVersion=${{ env.WEBGOAT_MAVEN_VERSION }} mvn --no-transfer-progress versions:set -DnewVersion=${{ env.WEBGOAT_MAVEN_VERSION }}
mvn install -DskipTests mvn --no-transfer-progress install -DskipTests
- name: "Create release" - name: "Create release"
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1