New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Permission denied in post job cleanup on Windows #583
Comments
Hello, @LVMVRQUXL ! Thank you for reporting this issue, we will look into it :) |
Hello @LVMVRQUXL, to resolve this issue, it's recommended to halt Gradle post-testing. Add the subsequent code into the workflow:
This should be inserted into your 'windows-test' job within the workflow. The reason to add this step is to ensure that the Gradle daemon isn't holding onto any file locks when the post job cleanup step runs. If the Gradle daemon is holding onto a file lock, it can cause the tar command in the post job cleanup step to fail, as you've seen. This action will enable successful cache storage. A screenshot of the adjusted workflow has been attached for your reference. Please confirm if the problem has been addressed. |
Hello @mahabaleshwars. Thank you for your suggestion, but I stoped using Windows for testing projects in GitHub Actions. It takes too much time comparing to Ubuntu or macOS runners. |
Hi @LVMVRQUXL, the solution for the mentioned issue is provided above. Kindly verify if it resolves your problem. I'll be closing this ticket now, but don't hesitate to contact if you experience any further issues related to this ticket or any other topic. |
Description:
I'm getting a
permission denied
error in the post job cleanup step on Windows.Here's a screenshot of the corresponding run in kotools/types/integration#7411214442 workflow:
Task version:
3.11.0
Platform:
Runner type:
The text was updated successfully, but these errors were encountered: