You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
D:\Users\cmb>ver
Microsoft Windows [Version 10.0.19043.2130]
D:\Users\cmb>tar --version
bsdtar 3.5.2 - libarchive 3.5.2 zlib/1.2.5.f-ipp
So apparently, Microsoft ships bsdtar as tar.exe, while we currently ship tar 1.32 and could update to 1.34 at best. I have some doubts that this will resolve the issue. An option might be not to ship tar.exe at all, or to do the same aliasing (we currently ship bsdtar 3.3.3, but could update to 3.6.1). The former might cause issues for those relying on tar (maybe using an older Windows, or requiring original tar); the latter looks generally doubtful to me. :(
Wait, now that you mention it, there is another tar.exe in C:\Program Files\Git\usr\bin:
The cache action will use GNU tar instead of bsd tar on Windows. This should work on all Github Hosted runners as it is. For self-hosted runners, please ensure you have GNU tar and zstd installed.
The included
tar.exe
causes actions/cache to break on theWindows-2022
runner in case it is added to the path. As a temp fix, i renamed it during the workflow, but updatingtar.exe
(and perhaps the other binaries) is advised.The text was updated successfully, but these errors were encountered: