mirror of
https://code.forgejo.org/actions/cache.git
synced 2024-11-23 11:01:18 +01:00
Add fix cache paths
This commit is contained in:
parent
92c0d581d5
commit
ae82de5d80
4 changed files with 4 additions and 4 deletions
2
dist/restore-only/index.js
vendored
2
dist/restore-only/index.js
vendored
|
@ -3336,7 +3336,7 @@ function restoreCachev2(paths, primaryKey, restoreKeys, options, enableCrossOsAr
|
||||||
}
|
}
|
||||||
core.info(`Cache hit for: ${signedDownloadURL.blobs[0].key}`);
|
core.info(`Cache hit for: ${signedDownloadURL.blobs[0].key}`);
|
||||||
core.info(`Starting download of artifact to: ${paths[0]}`);
|
core.info(`Starting download of artifact to: ${paths[0]}`);
|
||||||
yield (0, download_cache_1.StreamExtract)(signedDownloadURL.blobs[0].signedUrl, paths[0]);
|
yield (0, download_cache_1.StreamExtract)(signedDownloadURL.blobs[0].signedUrl, path.dirname(paths[0]));
|
||||||
core.info(`Artifact download completed successfully.`);
|
core.info(`Artifact download completed successfully.`);
|
||||||
return keys[0];
|
return keys[0];
|
||||||
}
|
}
|
||||||
|
|
2
dist/restore/index.js
vendored
2
dist/restore/index.js
vendored
|
@ -3336,7 +3336,7 @@ function restoreCachev2(paths, primaryKey, restoreKeys, options, enableCrossOsAr
|
||||||
}
|
}
|
||||||
core.info(`Cache hit for: ${signedDownloadURL.blobs[0].key}`);
|
core.info(`Cache hit for: ${signedDownloadURL.blobs[0].key}`);
|
||||||
core.info(`Starting download of artifact to: ${paths[0]}`);
|
core.info(`Starting download of artifact to: ${paths[0]}`);
|
||||||
yield (0, download_cache_1.StreamExtract)(signedDownloadURL.blobs[0].signedUrl, paths[0]);
|
yield (0, download_cache_1.StreamExtract)(signedDownloadURL.blobs[0].signedUrl, path.dirname(paths[0]));
|
||||||
core.info(`Artifact download completed successfully.`);
|
core.info(`Artifact download completed successfully.`);
|
||||||
return keys[0];
|
return keys[0];
|
||||||
}
|
}
|
||||||
|
|
2
dist/save-only/index.js
vendored
2
dist/save-only/index.js
vendored
|
@ -3336,7 +3336,7 @@ function restoreCachev2(paths, primaryKey, restoreKeys, options, enableCrossOsAr
|
||||||
}
|
}
|
||||||
core.info(`Cache hit for: ${signedDownloadURL.blobs[0].key}`);
|
core.info(`Cache hit for: ${signedDownloadURL.blobs[0].key}`);
|
||||||
core.info(`Starting download of artifact to: ${paths[0]}`);
|
core.info(`Starting download of artifact to: ${paths[0]}`);
|
||||||
yield (0, download_cache_1.StreamExtract)(signedDownloadURL.blobs[0].signedUrl, paths[0]);
|
yield (0, download_cache_1.StreamExtract)(signedDownloadURL.blobs[0].signedUrl, path.dirname(paths[0]));
|
||||||
core.info(`Artifact download completed successfully.`);
|
core.info(`Artifact download completed successfully.`);
|
||||||
return keys[0];
|
return keys[0];
|
||||||
}
|
}
|
||||||
|
|
2
dist/save/index.js
vendored
2
dist/save/index.js
vendored
|
@ -3336,7 +3336,7 @@ function restoreCachev2(paths, primaryKey, restoreKeys, options, enableCrossOsAr
|
||||||
}
|
}
|
||||||
core.info(`Cache hit for: ${signedDownloadURL.blobs[0].key}`);
|
core.info(`Cache hit for: ${signedDownloadURL.blobs[0].key}`);
|
||||||
core.info(`Starting download of artifact to: ${paths[0]}`);
|
core.info(`Starting download of artifact to: ${paths[0]}`);
|
||||||
yield (0, download_cache_1.StreamExtract)(signedDownloadURL.blobs[0].signedUrl, paths[0]);
|
yield (0, download_cache_1.StreamExtract)(signedDownloadURL.blobs[0].signedUrl, path.dirname(paths[0]));
|
||||||
core.info(`Artifact download completed successfully.`);
|
core.info(`Artifact download completed successfully.`);
|
||||||
return keys[0];
|
return keys[0];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue