mirror of
https://gitea.com/actions/setup-deno.git
synced 2025-12-15 12:56:43 +00:00
feat: add warning for setup-deno v1
This commit is contained in:
2
main.mjs
2
main.mjs
@@ -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(
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user