3 Commits

Author SHA1 Message Date
crowlkats
61fe2df320 1.1.2 2023-05-03 12:06:57 +02:00
Leo Kettmeir
b41525049b refactor: use versions.js from deno.com instead of github (#45) 2023-05-01 14:14:43 +02:00
Eliaz Bobadilla
d114c5eb74 chore: bump actions/checkout (#30) 2023-01-12 22:57:40 +01:00
3 changed files with 4 additions and 6 deletions

View File

@@ -13,10 +13,10 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
deno:
[1.x, "1.8.2", canary, ~1.7, e7b7129b7a92b7500ded88f8f5baa25a7f59e56e]
[1.x, "1.33.1", canary, ~1.32, b31cf9fde6ad5398c20370c136695db77df6beeb]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup Deno
uses: ./

View File

@@ -1,7 +1,7 @@
{
"name": "setup-deno",
"description": "Set up Deno easially in GitHub Actions",
"version": "1.1.1",
"version": "1.1.2",
"author": "Deno Land Inc",
"license": "MIT",
"scripts": {

View File

@@ -60,9 +60,7 @@ async function resolveVersion({ range, isCanary }) {
return { version: range, isCanary: true };
}
const res = await fetch(
"https://raw.githubusercontent.com/denoland/dotland/main/versions.json",
);
const res = await fetch("https://deno.com/versions.json");
if (res.status !== 200) {
throw new Error(
"Failed to fetch stable version info from raw.githubusercontent.com. Please try again later.",