mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2026-09-03 22:29:20 +00:00
feat: add option to not save cache (#851)
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user