Skip to content

Commit 3573b2e

Browse files
committed
Hard fail
1 parent 15dec85 commit 3573b2e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

action/src/post.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ async function run() {
4343
await exec.exec("gradle-cache", args, execOptions());
4444
}
4545
} catch (error) {
46-
core.warning(`Cache save failed: ${error.message}`);
46+
core.setFailed(`Cache save failed: ${error.message}`);
4747
}
4848
}
4949

dist/post/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34035,7 +34035,7 @@ async function run() {
3403534035
await exec.exec("gradle-cache", args, execOptions());
3403634036
}
3403734037
} catch (error) {
34038-
core.warning(`Cache save failed: ${error.message}`);
34038+
core.setFailed(`Cache save failed: ${error.message}`);
3403934039
}
3404034040
}
3404134041

0 commit comments

Comments
 (0)