diff --git a/action.yml b/action.yml index cbd30b2..329d31e 100644 --- a/action.yml +++ b/action.yml @@ -28,7 +28,7 @@ runs: using: 'node16' main: 'dist/restore/index.js' post: 'dist/save/index.js' - post-if: success() + post-if: success() || ${{ inputs.save-cache-on-any-failure == 'yes' }} branding: icon: 'archive' color: 'gray-dark'