chore: use github releases for stable downloads

This commit is contained in:
Satya Rohith 2021-05-20 09:55:07 +05:30
parent 4a4e59637f
commit 71003b2078
No known key found for this signature in database
GPG Key ID: 95F8574CC45A40F8

View File

@ -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}.`);