You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2022/07/06 21:43:36 UTC

[maven-gh-actions-shared] branch v2 updated: add a clean to ensure we do not lock files for a windows build (#50)

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

olamy 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 6fb412f  add a clean to ensure we do not lock files for a windows build (#50)
6fb412f is described below

commit 6fb412f2817e5c91dd530405f4568204e4fbea6e
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Thu Jul 7 07:43:32 2022 +1000

    add a clean to ensure we do not lock files for a windows build (#50)
    
    * add a clean to ensure we do not lock files for a windows build
---
 .github/workflows/maven-verify.yml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/.github/workflows/maven-verify.yml b/.github/workflows/maven-verify.yml
index 1a473da..282ea88 100644
--- a/.github/workflows/maven-verify.yml
+++ b/.github/workflows/maven-verify.yml
@@ -187,6 +187,9 @@ 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
@@ -272,6 +275,10 @@ 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