slawekjaranowski commented on code in PR #54:
URL:
https://github.com/apache/maven-gh-actions-shared/pull/54#discussion_r915588900
##########
.github/workflows/maven-verify.yml:
##########
@@ -208,7 +208,12 @@ jobs:
shell: bash
- name: Clean Ensuring no file handle remains open on windows
- run: ./mvnw clean --errors --batch-mode --show-version
+ run: ./mvnw clean --errors --batch-mode --show-version
+
+ - name: clean local repo to ensure no locks remains on files
+ if: always()
+ run: rm -rf ~/.m2/
Review Comment:
.m2 is cached by action .... when we remove content cache will be empty and
next build will download everything again
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]