diff options
author | Marcono1234 <Marcono1234@users.noreply.github.com> | 2022-09-28 08:05:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-27 23:05:49 -0700 |
commit | b777ae5216c6fde9ab7bca8d6cfca630ffe12b4f (patch) | |
tree | 338f4b93645d94f6a5da58565e34bb8a4786457c | |
parent | 5253ddbde0a366bb7667d94b56b0c940e465437d (diff) | |
download | gson-b777ae5216c6fde9ab7bca8d6cfca630ffe12b4f.tar.gz |
Disable Maven transfer progress for GitHub workflows (#2206)
Disables the download transfer progress which is shown when Maven downloads
(or uploads) artifacts which are not available in the local repository.
This download progress can be quite verbose and is normally not that relevant.
-rw-r--r-- | .github/workflows/build.yml | 2 | ||||
-rw-r--r-- | .github/workflows/check-api-compatibility.yml | 6 | ||||
-rw-r--r-- | .github/workflows/codeql-analysis.yml | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b387983e..ef1b23d0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,4 +20,4 @@ jobs: cache: 'maven' - name: Build with Maven # This also runs javadoc:jar to detect any issues with the Javadoc generated during release - run: mvn --batch-mode --update-snapshots verify javadoc:jar + run: mvn --batch-mode --update-snapshots --no-transfer-progress verify javadoc:jar diff --git a/.github/workflows/check-api-compatibility.yml b/.github/workflows/check-api-compatibility.yml index aa70782b..a4465764 100644 --- a/.github/workflows/check-api-compatibility.yml +++ b/.github/workflows/check-api-compatibility.yml @@ -24,9 +24,9 @@ jobs: run: | cd gson-old-japicmp # Set dummy version - mvn --batch-mode org.codehaus.mojo:versions-maven-plugin:2.11.0:set -DnewVersion=JAPICMP-OLD + mvn --batch-mode --no-transfer-progress org.codehaus.mojo:versions-maven-plugin:2.11.0:set -DnewVersion=JAPICMP-OLD # Install artifacts with dummy version in local repository; used later by Maven plugin for comparison - mvn --batch-mode install -DskipTests + mvn --batch-mode --no-transfer-progress install -DskipTests - name: Checkout new version uses: actions/checkout@v3 @@ -34,7 +34,7 @@ jobs: - name: Check API compatibility id: check-compatibility run: | - mvn --batch-mode --fail-at-end package japicmp:cmp -DskipTests + mvn --batch-mode --fail-at-end --no-transfer-progress package japicmp:cmp -DskipTests - name: Upload API differences artifacts uses: actions/upload-artifact@v3 diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 10df305f..01d95bdf 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -48,7 +48,7 @@ jobs: # Can replace this with github/codeql-action/autobuild action to run complete build - name: Compile sources run: | - mvn compile --batch-mode + mvn compile --batch-mode --no-transfer-progress - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2 |