chore: use github releases for stable downloads (#4)

This commit is contained in:
Satya Rohith
2021-05-21 16:36:04 +05:30
committed by GitHub
parent 4a4e59637f
commit eb33d5551a

View File

@@ -19,7 +19,7 @@ async function install(version) {
const zip = zipName();
const url = version.isCanary
? `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}.`);