mirror of
https://gitea.com/actions/setup-deno.git
synced 2025-12-12 03:16:42 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
61fe2df320 | ||
|
|
b41525049b | ||
|
|
d114c5eb74 |
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@@ -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: ./
|
||||
|
||||
@@ -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": {
|
||||
|
||||
@@ -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.",
|
||||
|
||||
Reference in New Issue
Block a user