3
0
Fork 0
mirror of https://github.com/Swatinem/rust-cache synced 2026-01-09 21:29:01 +00:00

Update dependencies, clean both debug and release targets

This commit is contained in:
Arpad Borsos 2022-04-08 17:25:03 +02:00
parent f8f67b7515
commit 74e8e24b6d
No known key found for this signature in database
GPG key ID: FC7BCA77824B3298
7 changed files with 6379 additions and 4113 deletions

View file

@ -3,6 +3,11 @@ import * as core from "@actions/core";
import { cleanTarget, getCacheConfig, getCargoBins, getPackages, stateBins, stateKey } from "./common";
async function run() {
if (!cache.isFeatureAvailable()) {
setCacheHitOutput(false);
return;
}
try {
var cacheOnFailure = core.getInput("cache-on-failure").toLowerCase();
if (cacheOnFailure !== "true") {