You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sj...@apache.org on 2022/07/07 07:31:23 UTC
[maven-gh-actions-shared] 01/01: Execute clean after artifact uploads
This is an automated email from the ASF dual-hosted git repository.
sjaranowski pushed a commit to branch clean-after-uploads
in repository https://gitbox.apache.org/repos/asf/maven-gh-actions-shared.git
commit 07dad67d57b2c92caad5014ff3ca071c1092a886
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Thu Jul 7 09:30:59 2022 +0200
Execute clean after artifact uploads
---
.github/workflows/maven-verify.yml | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/maven-verify.yml b/.github/workflows/maven-verify.yml
index 282ea88..48eaeed 100644
--- a/.github/workflows/maven-verify.yml
+++ b/.github/workflows/maven-verify.yml
@@ -187,9 +187,6 @@ jobs:
- name: Build Maven Site
run: ./mvnw --errors --batch-mode --show-version ${{ inputs.maven_args }} ${{ inputs.ff-site-goal }}
if: inputs.ff-site-run
-
- - name: Clean Ensuring no file handle remains open on windows
- run: ./mvnw clean --errors --batch-mode --show-version
- name: Upload Maven Site
uses: actions/upload-artifact@v3
@@ -210,6 +207,9 @@ jobs:
run: df -h
shell: bash
+ - name: Clean Ensuring no file handle remains open on windows
+ run: ./mvnw clean --errors --batch-mode --show-version
+
verify:
needs: fail-fast-build
name: ${{ matrix.os }} jdk-${{ matrix.jdk }}-${{ matrix.distribution }}
@@ -275,10 +275,6 @@ jobs:
- name: Build with Maven
if: steps.should-run.conclusion == 'success'
run: ./mvnw --errors --batch-mode --show-version ${{ inputs.maven_args }} ${{ inputs.verify-goal }}
-
- - name: Clean Ensuring no file handle remains open on windows
- if: steps.should-run.conclusion == 'success'
- run: ./mvnw clean --errors --batch-mode --show-version
- name: Upload artifact on failure
uses: actions/upload-artifact@v3
@@ -291,3 +287,7 @@ jobs:
if: steps.should-run.conclusion == 'success' && always()
run: df -h
shell: bash
+
+ - name: Clean Ensuring no file handle remains open on windows
+ if: steps.should-run.conclusion == 'success'
+ run: ./mvnw clean --errors --batch-mode --show-version