cache icon indicating copy to clipboard operation
cache copied to clipboard

Cache action uses `tar` but it is not provided on Windows

Open Warchant opened this issue 5 years ago • 5 comments

image

Warning: Tar failed with error: The process 'C:\windows\System32\tar.exe' failed with exit code 1. Ensure BSD tar is installed and on the PATH.

Maybe cache action should provide its own tar or use OS-specific program to create archives?

Warchant avatar Sep 25 '20 07:09 Warchant

Oh no why not use rar5 on windows?

AraHaan avatar Oct 21 '20 05:10 AraHaan

This issue is stale because it has been open for 365 days with no activity. Leave a comment to avoid closing this issue in 5 days.

github-actions[bot] avatar Dec 23 '21 08:12 github-actions[bot]

Bump

Warchant avatar Dec 23 '21 08:12 Warchant

I think the best option for cache is to use 7z on Windows. If I remember right I think 7z can produce tar.gz.

AraHaan avatar Dec 23 '21 14:12 AraHaan

Github hosted runner do have a tar installed on windows. And i think on self hosted we expect to have tar installed(now i think latest version of windows have tar installed natively).

tiwarishub avatar Sep 14 '22 07:09 tiwarishub

This issue is stale because it has been open for 200 days with no activity. Leave a comment to avoid closing this issue in 5 days.

github-actions[bot] avatar Apr 02 '23 08:04 github-actions[bot]

I think this issue is no longer needed if you use the windows-latest runners as I think those are essentially on par with Windows 11 which has tar preinstalled on it and in the path.

AraHaan avatar Apr 04 '23 02:04 AraHaan

This issue is stale because it has been open for 200 days with no activity. Leave a comment to avoid closing this issue in 5 days.

github-actions[bot] avatar Oct 22 '23 08:10 github-actions[bot]

This issue was closed because it has been inactive for 5 days since being marked as stale.

github-actions[bot] avatar Oct 28 '23 08:10 github-actions[bot]