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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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