diff --git a/action.yml b/action.yml index 5c4669759..6db0ea760 100644 --- a/action.yml +++ b/action.yml @@ -37,7 +37,7 @@ runs: using: 'node20' main: 'dist/setup/index.js' post: 'dist/cache-save/index.js' - post-if: success() + post-if: 'success() && github.event.inputs.cache' branding: icon: 'code' color: 'yellow'