mirror of
https://gitea.com/actions/setup-deno.git
synced 2025-12-10 10:26:45 +00:00
fix: use dl.deno.land for downloading binaries (#67)
This commit is contained in:
@@ -21,7 +21,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://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}.`);
|
core.info(`Downloading Deno from ${url}.`);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user