update dependencies

This commit is contained in:
Arpad Borsos
2021-09-28 17:49:43 +02:00
parent 801365cd81
commit d127014599
6 changed files with 22540 additions and 24584 deletions

View File

@@ -4,11 +4,11 @@ import { cleanTarget, getCacheConfig, getCargoBins, getPackages, stateBins, stat
async function run() {
try {
var cacheOnFailure = core.getInput("cache-on-failure").toLowerCase()
var cacheOnFailure = core.getInput("cache-on-failure").toLowerCase();
if (cacheOnFailure !== "true") {
cacheOnFailure = "false"
cacheOnFailure = "false";
}
core.exportVariable("CACHE_ON_FAILURE", cacheOnFailure)
core.exportVariable("CACHE_ON_FAILURE", cacheOnFailure);
core.exportVariable("CARGO_INCREMENTAL", 0);
const { paths, key, restoreKeys } = await getCacheConfig();
@@ -40,7 +40,7 @@ async function run() {
} catch (e) {
setCacheHitOutput(false);
core.info(`[warning] ${e.message}`);
core.info(`[warning] ${(e as any).message}`);
}
}

View File

@@ -53,7 +53,7 @@ async function run() {
core.info(`Using key:\n ${key}`);
await cache.saveCache(savePaths, key);
} catch (e) {
core.info(`[warning] ${e.message}`);
core.info(`[warning] ${(e as any).message}`);
}
}