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

Fix temp folder handling on windows #134

Merged
merged 1 commit into from Feb 4, 2022

Conversation

kuhnroyal
Copy link
Contributor

@kuhnroyal kuhnroyal commented Feb 4, 2022

Follow up for #132

Something with the globing seems not work but not sure exactly. Now using a simple way of ensure that the target folder never exists when calling mv so that it behaves as a rename instead of a move into. The folder still needs to be created first so that parent folders (in case of a custom cache path) are created.

Added a .gitignore

Only run on push/pr on main branch to avoid duplicate builds and overuse of macos-runners.

.gitignore Outdated Show resolved Hide resolved
Something with the globing seems not work but not sure exactly. Now using a simple way of ensure that the target folder never exists when calling `mv` so that it behaves as a rename instead of a move into. The folder still needs to be created first so that parent folders (in case of a custom cache path) are created.
@subosito subosito merged commit 99cf465 into subosito:main Feb 4, 2022
@subosito
Copy link
Owner

subosito commented Feb 4, 2022

Thanks @kuhnroyal 🎉

@kuhnroyal kuhnroyal deleted the temp-folder-windows branch February 4, 2022 22:43
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.

None yet

2 participants