Fix cache: false, closes #55

This commit is contained in:
Renée Kooi 2023-07-08 17:59:52 +02:00
parent 14a1906c0d
commit eb533fc3df
2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View File

@ -64037,7 +64037,7 @@ async function main() {
actions.setFailed('`with.cache` must be "true" or "false"'); actions.setFailed('`with.cache` must be "true" or "false"');
return; return;
} }
const zigPath = await downloadZig(os.platform(), version3, Boolean(useCache)); const zigPath = await downloadZig(os.platform(), version3, useCache === "true");
actions.addPath(zigPath); actions.addPath(zigPath);
actions.info(`zig installed at ${zigPath}`); actions.info(`zig installed at ${zigPath}`);
} }

View File

@ -67,7 +67,7 @@ async function main () {
return return
} }
const zigPath = await downloadZig(os.platform(), version, Boolean(useCache)) const zigPath = await downloadZig(os.platform(), version, useCache === 'true')
// Add the `zig` binary to the $PATH // Add the `zig` binary to the $PATH
actions.addPath(zigPath) actions.addPath(zigPath)