Fix cache: false
, closes #55
This commit is contained in:
parent
14a1906c0d
commit
eb533fc3df
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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user