generated from actions/javascript-action
-
-
Notifications
You must be signed in to change notification settings - Fork 342
Closed
Description
See https://github.com/ruby/setup-ruby/runs/1370892940?check_suite_focus=true
Saving cache
C:\msys64\usr\bin\tar.exe --posix --use-compress-program "zstd -T0" -cf cache.tzst -P -C D:/a/setup-ruby/setup-ruby --files-from manifest.txt --force-local
/usr/bin/tar: vendor\bundle: Cannot stat: No such file or directory
/usr/bin/tar: Exiting with failure status due to previous errors
Warning: Tar failed with error: The process 'C:\msys64\usr\bin\tar.exe' failed with exit code 2
I guess this is due to using MSYS's tar
and not one of the other tar
.
It seems we get in this branch:
https://github.com/actions/toolkit/blob/e7eb2c741847a05686a1b8df93dea4b244640b17/packages/cache/src/internal/tar.ts#L16-L18
when probably we should be in this branch:
https://github.com/actions/toolkit/blob/e7eb2c741847a05686a1b8df93dea4b244640b17/packages/cache/src/internal/tar.ts#L20
or use the GNU tar but not MSYS's one.
cc @MSP-Greg
ankane
Metadata
Metadata
Assignees
Labels
No labels