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/05 10:15:38 UTC

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

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

olamy pushed a commit to branch v2-test-no-locking-windows-build
in repository https://gitbox.apache.org/repos/asf/maven-gh-actions-shared.git

commit e15c72695b7308163a0fb905ee5537a2549cba56
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Tue Jul 5 20:15:33 2022 +1000

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

diff --git a/.github/workflows/maven-verify.yml b/.github/workflows/maven-verify.yml
index 1a473da..3b9ead2 100644
--- a/.github/workflows/maven-verify.yml
+++ b/.github/workflows/maven-verify.yml
@@ -272,6 +272,11 @@ 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        
 
       - name: Upload artifact on failure
         uses: actions/upload-artifact@v3