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/20 00:15:24 UTC
[maven-gh-actions-shared] branch v3 updated: add a clean to ensure we do not lock files for a windows build (#55)
This is an automated email from the ASF dual-hosted git repository.
olamy pushed a commit to branch v3
in repository https://gitbox.apache.org/repos/asf/maven-gh-actions-shared.git
The following commit(s) were added to refs/heads/v3 by this push:
new 5c6d8aa add a clean to ensure we do not lock files for a windows build (#55)
5c6d8aa is described below
commit 5c6d8aa5e7ba76cf86e74c2e6ec29782af752da0
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Wed Jul 20 10:15:19 2022 +1000
add a clean to ensure we do not lock files for a windows build (#55)
* 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
* Update maven-verify.yml
* Update maven-verify.yml
* Update maven-verify.yml
---
.github/workflows/maven-verify.yml | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/maven-verify.yml b/.github/workflows/maven-verify.yml
index ac4f7e9..ee1954d 100644
--- a/.github/workflows/maven-verify.yml
+++ b/.github/workflows/maven-verify.yml
@@ -188,7 +188,7 @@ 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: Upload Maven Site
uses: actions/upload-artifact@v3
with:
@@ -207,6 +207,9 @@ jobs:
if: always()
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
@@ -286,3 +289,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