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:43:51 UTC

[maven-gh-actions-shared] branch v2 updated: Execute clean after artifact uploads

This is an automated email from the ASF dual-hosted git repository.

sjaranowski pushed a commit to branch v2
in repository https://gitbox.apache.org/repos/asf/maven-gh-actions-shared.git


The following commit(s) were added to refs/heads/v2 by this push:
     new 9b26d06  Execute clean after artifact uploads
9b26d06 is described below

commit 9b26d06575a777356807c71e2d4b6853b333101c
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