3
0
Fork 0
mirror of https://github.com/Swatinem/rust-cache synced 2026-01-07 20:31:17 +00:00

implement support for CARGO_HOME

fixes #8
This commit is contained in:
Arpad Borsos 2021-01-28 18:16:36 +01:00
parent cbcc887094
commit 2639a56bb8
3 changed files with 7 additions and 4 deletions

View file

@ -9,6 +9,7 @@ async function run() {
const { paths, key, restoreKeys } = await getCacheConfig();
core.info(`Restoring paths:\n ${paths.join("\n ")}`);
core.info(`In directory:\n ${process.cwd()}`);
core.info(`Using keys:\n ${[key, ...restoreKeys].join("\n ")}`);
const restoreKey = await cache.restoreCache(paths, key, restoreKeys);
if (restoreKey) {