olamy commented on code in PR #54: URL: https://github.com/apache/maven-gh-actions-shared/pull/54#discussion_r915703021
########## .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: but here in this PR I did few more builds after removing the `rm` and didn't touch any pom.xml. cache still empty as shown by `ls -alrt ~/.m2/` if every single change in pom.xml clear the cache and 7 days, not sure it is very efficient really :) -- 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: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org