chore: use github releases for stable downloads (#4)
This commit is contained in:
parent
4a4e59637f
commit
eb33d5551a
|
@ -19,7 +19,7 @@ async function install(version) {
|
||||||
const zip = zipName();
|
const zip = zipName();
|
||||||
const url = version.isCanary
|
const url = version.isCanary
|
||||||
? `https://dl.deno.land/canary/${version.version}/${zip}`
|
? `https://dl.deno.land/canary/${version.version}/${zip}`
|
||||||
: `https://dl.deno.land/release/v${version.version}/${zip}`;
|
: `https://github.com/denoland/deno/releases/download/v${version.version}/${zip}`;
|
||||||
|
|
||||||
core.info(`Downloading Deno from ${url}.`);
|
core.info(`Downloading Deno from ${url}.`);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue