mirror of
https://github.com/BloopAI/setup-zig.git
synced 2026-08-23 12:18:33 +00:00
Fix cache: false, closes #55
This commit is contained in:
2
dist/index.js
vendored
2
dist/index.js
vendored
@@ -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}`);
|
||||||
}
|
}
|
||||||
|
|||||||
2
index.js
2
index.js
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user