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:
parent
f8f67b7515
commit
74e8e24b6d
7 changed files with 6379 additions and 4113 deletions
|
|
@ -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") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue