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
I'm using actions/cache@v4 on Ubuntu 20.04 as a self-managed runner.
zstd --version -> *** zstd command line interface 64-bits v1.5.0, by Yann Collet ***
zstd --long -> (�/�$
/usr/bin/tar --posix -cf cache.tzst --exclude cache.tzst -P -C /home/runner8/runner/_work/ourrepo/ourrepo --files-from manifest.txt --use-compress-program zstdmt
/bin/sh: 1: zstdmt: not found
/usr/bin/tar: cache.tzst: Wrote only 4096 of 10240 bytes
/usr/bin/tar: Child returned status 127
/usr/bin/tar: Error is not recoverable: exiting now
Warning: Failed to save: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
The text was updated successfully, but these errors were encountered:
This occurs as getCompressionMethod() only returns CompressionMethod.Gzip or CompressionMethod.ZstdWithoutLong
If it was to return CompressionMethod.Zstd then it will run zstdmt --long=30 compared to zstdmt
Suggestion is to re-work getCompressionMethod() to be aware if zstdmt is installed or not.
These above assumptions were incorrect.
andymcblane
changed the title
zstdmt is assumed to be installed
actions/cache assumes zstdmt to be installed
Apr 26, 2024
Describe the bug
actions/cache assumes
zstdmt
is installed without checking.toolkit/packages/cache/src/internal/tar.ts
Line 241 in 81a73ab
I'm using actions/cache@v4 on Ubuntu 20.04 as a self-managed runner.
zstd --version
->*** zstd command line interface 64-bits v1.5.0, by Yann Collet ***
zstd --long
->(�/�$
The text was updated successfully, but these errors were encountered: