-
Notifications
You must be signed in to change notification settings - Fork 522
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
Running on self-hosted runners leaves files in GITHUB_WORKSPACE #101
Comments
+1 I've had exactly the same issue and it's caused havoc in |
I think Actions should avoid writing into GITHUB_WORKSPACE as best practice, because this could cause build failures. The workspace is where the source code is checked out. The other |
I ran into this issue and my build started to run the python distro unit tests! |
Per #106 reordering the checkout and setup-python resolves this. |
We are working to provide fix for this issue |
Hello @russellcardullo ! |
Thanks @MaksimZhukov! I'll give it a try today and let you know if I run into this again. |
@MaksimZhukov That has fixed the issue for me (#117). Thank you! |
It looks like the problem has been resolved and we are going to close this issue. But if you still have any problems, please notify us. |
Describe the bug
The very first time setup-python is called for a specific version on a self hosted runner, the action will download files into the GITHUB_WORKSPACE and leave them there.
This causes issues for later steps, for instance if I have a step to run linters it runs on the temporary files setup-python downloads.
Which version of the action are you using?
v1
v2
v2.0.1
ormaster
)Environment
If applicable, please specify if you're using a container
Python Versions
Please list all of the effected versions of Python (
3.8.2
, etc.)To Reproduce
This workflow file run on a self-hosted Ubuntu 18.04 linux server will reproduce:
After running this you should see a directory with a UUID that adds approximately ~130MB of files to the workspace.
Run/Repo Url
If applicable, and if your repo/run is public, please include a URL so it is easier for us to investigate.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: