3
0
Fork 0
mirror of https://github.com/Swatinem/rust-cache synced 2025-04-26 13:25:34 +00:00
This commit is contained in:
Arpad Borsos 2022-11-09 20:14:41 +01:00
parent ecee04e7b3
commit 359a70e43a
No known key found for this signature in database
GPG key ID: FC7BCA77824B3298
4 changed files with 9 additions and 4 deletions

3
dist/save/index.js vendored
View file

@ -64922,7 +64922,8 @@ process.on("uncaughtException", (e) => {
}
});
async function run() {
if (!cache.isFeatureAvailable()) {
const save = core.getInput("save-if").toLowerCase() || "true";
if (!(cache.isFeatureAvailable() && save === "true")) {
return;
}
try {