Commit 1034aaee authored by Aiqiao Yan's avatar Aiqiao Yan
Browse files

Testing fix for a bug in the cache package

parent bcc23b93
Loading
Loading
Loading
Loading
+1 −1
Changes for dist/restore/index.js: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -1077,7 +1077,7 @@ function getVersion(app) {
// Use zstandard if possible to maximize cache performance
function getCompressionMethod() {
    return __awaiter(this, void 0, void 0, function* () {
        if (process.platform === 'win32' && !isGnuTarInstalled()) {
        if (process.platform === 'win32' && !(yield isGnuTarInstalled())) {
            // Disable zstd due to bug https://github.com/actions/cache/issues/301
            return constants_1.CompressionMethod.Gzip;
        }
+1 −1
Changes for dist/save/index.js: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -1077,7 +1077,7 @@ function getVersion(app) {
// Use zstandard if possible to maximize cache performance
function getCompressionMethod() {
    return __awaiter(this, void 0, void 0, function* () {
        if (process.platform === 'win32' && !isGnuTarInstalled()) {
        if (process.platform === 'win32' && !(yield isGnuTarInstalled())) {
            // Disable zstd due to bug https://github.com/actions/cache/issues/301
            return constants_1.CompressionMethod.Gzip;
        }