diff --git a/dist/index.js b/dist/index.js index fc4ce60..70b0334 100644 --- a/dist/index.js +++ b/dist/index.js @@ -64037,7 +64037,7 @@ async function main() { actions.setFailed('`with.cache` must be "true" or "false"'); return; } - const zigPath = await downloadZig(os.platform(), version3, Boolean(useCache)); + const zigPath = await downloadZig(os.platform(), version3, useCache === "true"); actions.addPath(zigPath); actions.info(`zig installed at ${zigPath}`); } diff --git a/index.js b/index.js index 3b9a066..6f55d2b 100644 --- a/index.js +++ b/index.js @@ -67,7 +67,7 @@ async function main () { 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 actions.addPath(zigPath)