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/07 07:49:39 UTC
[maven-gh-actions-shared] 01/01: Update maven-verify.yml
This is an automated email from the ASF dual-hosted git repository.
olamy pushed a commit to branch v2-clean-local-repo-to-ensure-not-locking-files
in repository https://gitbox.apache.org/repos/asf/maven-gh-actions-shared.git
commit a6301f9c0414f7d9398d29157f0889cbe0107c69
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Thu Jul 7 17:49:34 2022 +1000
Update maven-verify.yml
---
.github/workflows/maven-verify.yml | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/.github/workflows/maven-verify.yml b/.github/workflows/maven-verify.yml
index 48eaeed..5faf538 100644
--- a/.github/workflows/maven-verify.yml
+++ b/.github/workflows/maven-verify.yml
@@ -209,6 +209,16 @@ jobs:
- name: Clean Ensuring no file handle remains open on windows
run: ./mvnw clean --errors --batch-mode --show-version
+
+ - name: list local repo
+ if: always()
+ run: ls -lrt ~/.m2/repository/
+ shell: bash
+
+ - name: clean local repo
+ if: always()
+ run: rm ~/.m2/repository/
+ shell: bash
verify:
needs: fail-fast-build
@@ -291,3 +301,13 @@ jobs:
- 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: list local repo
+ if: always()
+ run: ls -lrt ~/.m2/repository/
+ shell: bash
+
+ - name: clean local repo
+ if: always()
+ run: rm ~/.m2/repository/
+ shell: bash