Fix BSD tar issue on Windows by using newer @actions/cache package by ManasJayanth · Pull Request #29 · esy/github-action

@ManasJayanth

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 deleted the prometheansacrifice/chdir-before-cache-restore branch

July 25, 2024 15:34