fix: use dl.deno.land for downloading binaries (#67)

This commit is contained in:
Leo Kettmeir 2024-08-21 10:24:39 -07:00 committed by GitHub
parent ba9dcf3bc3
commit b8a676db36
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,7 +21,7 @@ async function install(version) {
const zip = zipName();
const url = version.isCanary
? `https://dl.deno.land/canary/${version.version}/${zip}`
: `https://github.com/denoland/deno/releases/download/v${version.version}/${zip}`;
: `https://dl.deno.land/release/v${version.version}/${zip}`;
core.info(`Downloading Deno from ${url}.`);