diff --git a/src/cache-save.ts b/src/cache-save.ts index 121d9a2..056c464 100644 --- a/src/cache-save.ts +++ b/src/cache-save.ts @@ -35,7 +35,8 @@ export const cacheBinary = async () => { const primaryKey = core.getState(State.CachePrimaryKey); const path = core.getState(State.BinaryPath); if (!fs.existsSync(path)) { - throw new Error(`Cache folder path doesn't exist on disk: ${path}`); + core.warning(`Cache folder path doesn't exist on disk, skipping cache: ${path}`); + return; } core.debug(