feat: add option to not save cache (#851)

This commit is contained in:
Navneeth Jayendran authored and GitHub committed 2024-04-25 01:17:21 +00:00
1 parent bf6479d5ec
commit c683728f10
5 files changed
+15

No files matched your search

+1
View File
@@ -116,6 +116,7 @@ export async function restoreCache(): Promise<void> {
export async function saveCache(): Promise<void> {
if (core.getInput(`skip-cache`, { required: true }).trim() == "true") return
if (core.getInput(`skip-save-cache`, { required: true }).trim() == "true") return
// Validate inputs, this can cause task failure
if (!utils.isValidEvent()) {