3
0
Fork 0
mirror of https://github.com/Swatinem/rust-cache synced 2025-08-14 08:55:27 +00:00

Try explicitly exporting CACHE_ON_FAILURE

This commit is contained in:
Tom Parker-Shemilt 2021-06-27 18:11:38 +01:00
parent 91ffae15a8
commit d842616537
4 changed files with 549 additions and 547 deletions

View file

@ -4,6 +4,7 @@ import { cleanTarget, getCacheConfig, getCargoBins, getPackages, stateBins, stat
async function run() {
try {
core.exportVariable("CACHE_ON_FAILURE", "true")
core.exportVariable("CARGO_INCREMENTAL", 0);
const { paths, key, restoreKeys } = await getCacheConfig();