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 BSD tar issue on Windows by using newer @actions/cache package #29

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

ManasJayanth
Copy link
Member

No description provided.

@ManasJayanth ManasJayanth force-pushed the prometheansacrifice/chdir-before-cache-restore branch 3 times, most recently from ae3c621 to 3780d81 Compare July 25, 2024 15:24
On Windows we keep seeing,

```
  C:\Windows\System32\tar.exe -z -xf D:/a/_temp/c1e43677-dbc5-4f04-808f-3d51fcd75207/cache.tgz -P -C D:/a/esy/esy
  ../.esy/3______________________________________________________________________/i/esy_help2man-7dbd6434/bin/makeinfo: Can't create '\\\\?\\D:\\a\\esy\\esy\\..\\.esy\\3______________________________________________________________________\\i\\esy_help2man-7dbd6434\\bin\\makeinfo'
  ../.esy/3______________________________________________________________________/i/esy_bzip2-a8b41850/lib/libbz2.so.1.0: Can't create '\\\\?\\D:\\a\\esy\\esy\\..\\.esy\\3______________________________________________________________________\\i\\esy_bzip2-a8b41850\\lib\\libbz2.so.1.0'
```

The newer @actions/cache defaults to gnu tar first which doesnt have
trouble untarring the cache
@ManasJayanth ManasJayanth force-pushed the prometheansacrifice/chdir-before-cache-restore branch from 3780d81 to 8c7baee Compare July 25, 2024 15:27
@ManasJayanth ManasJayanth merged commit 4a96b1c into master Jul 25, 2024
3 checks passed
@ManasJayanth ManasJayanth deleted the prometheansacrifice/chdir-before-cache-restore branch July 25, 2024 15:34
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.

1 participant