denolib / setup-deno

Set up your GitHub Actions workflow with a specific version of deno
https://github.com/marketplace/actions/setup-deno-environment
MIT License
181 stars 16 forks source link

Fix error message for unexpected systems #8

Closed zhmushan closed 4 years ago

axetroy commented 4 years ago

BTW

Information about the system can be declared at the beginning, there is no need to call functions at everywhere

type Platform = "win" | "linux" | "osx";
type Arch = "x64";

const platform = getDenoPlatform()
const arch = getDenoArch()