feat: add warning for setup-deno v1

This commit is contained in:
crowlkats
2024-10-02 05:13:56 +02:00
parent 5e01c016a8
commit 5f06e8aafb
2 changed files with 3 additions and 1 deletions

View File

@@ -17,6 +17,8 @@ function exit(message) {
} }
async function main() { async function main() {
core.warning("Running on setup-deno@1, which is deprecated.\nPlease update to setup-deno@2, which defaults to Deno 2.0");
try { try {
const denoVersionFile = core.getInput("deno-version-file"); const denoVersionFile = core.getInput("deno-version-file");
const range = parseVersionRange( const range = parseVersionRange(

View File

@@ -1,7 +1,7 @@
{ {
"name": "setup-deno", "name": "setup-deno",
"description": "Set up Deno easially in GitHub Actions", "description": "Set up Deno easially in GitHub Actions",
"version": "1.5.1", "version": "1.5.2",
"author": "Deno Land Inc", "author": "Deno Land Inc",
"license": "MIT", "license": "MIT",
"type": "module", "type": "module",