fix: use dl.deno.land for downloading binaries

This commit is contained in:
crowlkats 2024-08-21 19:02:34 +02:00
parent ba9dcf3bc3
commit 278b712f40
No known key found for this signature in database
GPG Key ID: A82C9D461FC483E8

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