Skip to content

Commit

Permalink
feat: add warning for setup-deno v1
Browse files Browse the repository at this point in the history
  • Loading branch information
crowlKats committed Oct 2, 2024
1 parent 5e01c01 commit 5f06e8a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions main.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ function exit(message) {
}

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 {
const denoVersionFile = core.getInput("deno-version-file");
const range = parseVersionRange(
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "setup-deno",
"description": "Set up Deno easially in GitHub Actions",
"version": "1.5.1",
"version": "1.5.2",
"author": "Deno Land Inc",
"license": "MIT",
"type": "module",
Expand Down

0 comments on commit 5f06e8a

Please sign in to comment.