Use zig from cache if it exists
parent
ac8783ec73
commit
44120b6411
5
index.js
5
index.js
|
@ -35,7 +35,10 @@ async function main () {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
const zigPath = await downloadZig(version)
|
let zigPath = cache.find('zig', version)
|
||||||
|
if (!zigPath) {
|
||||||
|
zigPath = await downloadZig(version)
|
||||||
|
}
|
||||||
|
|
||||||
// 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