Skip to content
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

Copy the file and remove the original #125

Merged
merged 2 commits into from
Apr 11, 2023

Conversation

stephendotcarter
Copy link
Contributor

Hi 👋,

There is an issue running setup-minikube in self-hosted GitHub actions runners due to the tmp folder being on a different partition:

Error: EXDEV: cross-device link not permitted, rename '/runner/_work/_temp/631b8ac3-0772-449c-b657-cb5e6ebd055e' -> '/home/runner/bin/minikube'

It's related to this bug:

The underlying io.mv tries to rename the file to the new location which does not work across partitions.

To workaround that issue, this commit makes the code io.cp the file and io.rmRF the original.

Kind regards,
Stephen

@medyagh
Copy link
Owner

medyagh commented Apr 11, 2023

@stephendotcarter thank you for this contribution

@medyagh medyagh merged commit 3213bac into medyagh:master Apr 11, 2023
@stephendotcarter stephendotcarter deleted the use-cp-rm branch April 13, 2023 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants