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/19 10:06:28 UTC

[maven-gh-actions-shared] branch v3-clean-no-lock created (now 8ccbe2b)

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

olamy pushed a change to branch v3-clean-no-lock
in repository https://gitbox.apache.org/repos/asf/maven-gh-actions-shared.git


      at 8ccbe2b  add a clean to ensure we do not lock files for a windows build

This branch includes the following new commits:

     new 8ccbe2b  add a clean to ensure we do not lock files for a windows build

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven-gh-actions-shared] 01/01: add a clean to ensure we do not lock files for a windows build

Posted by ol...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

olamy pushed a commit to branch v3-clean-no-lock
in repository https://gitbox.apache.org/repos/asf/maven-gh-actions-shared.git

commit 8ccbe2b67ce2e41d41afbc2ecef687f461612a78
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Tue Jul 19 20:06:26 2022 +1000

    add a clean to ensure we do not lock files for a windows build
    
    cherry-pick of https://github.com/apache/maven-gh-actions-shared/commit/6fb412f2817e5c91dd530405f4568204e4fbea6e
---
 .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 ac4f7e9..339e90b 100644
--- a/.github/workflows/maven-verify.yml
+++ b/.github/workflows/maven-verify.yml
@@ -184,10 +184,17 @@ jobs:
 
       - name: Build with Maven
         run: ./mvnw --errors --batch-mode --show-version ${{ inputs.maven-args }} ${{ inputs.ff-goal }}
+        
+      - name: Clean Ensuring no file handle remains open on windows
+        run: ./mvnw clean --errors --batch-mode --show-version           
 
       - 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
+        if: steps.should-run.conclusion == 'success'
+        run: ./mvnw clean --errors --batch-mode --show-version            
 
       - name: Upload Maven Site
         uses: actions/upload-artifact@v3