From 47768a84649a8174cf0cfe198191c5eefe229e3a Mon Sep 17 00:00:00 2001 From: hugoalh Date: Wed, 6 Nov 2024 17:14:24 +0800 Subject: [PATCH] Update dependencies --- deno.jsonc | 8 ++++---- mod.ts | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/deno.jsonc b/deno.jsonc index 80e2c7eb..b38b3464 100644 --- a/deno.jsonc +++ b/deno.jsonc @@ -12,13 +12,13 @@ "COLOR": "npm:color@4.2.3", "COLORNAMESPACELISTCOMMUNITY": "npm:color-name-list@10.28.0/dist/colornames.esm.js", "EXFETCH": "jsr:@hugoalh/exfetch@0.5.1", - "GHACTIONS": "jsr:@hugoalh/github-actions-core@0.3.0", + "GHACTIONS": "jsr:@hugoalh/github-actions-core@0.4.0", "ISJSON": "jsr:@hugoalh/is-json@1.0.4", "REGEXPURL": "npm:url-regex-safe@4.0.0", - "STD/assert": "jsr:@std/assert@1.0.6", - "STD/fs": "jsr:@std/fs@1.0.4", + "STD/assert": "jsr:@std/assert@1.0.7", + "STD/fs": "jsr:@std/fs@1.0.5", "STD/media-types": "jsr:@std/media-types@1.0.3", - "STD/path": "jsr:@std/path@1.0.6", + "STD/path": "jsr:@std/path@1.0.8", "STD/yaml": "jsr:@std/yaml@1.0.5", "STRINGOVERFLOW": "jsr:@hugoalh/string-overflow@2.0.3" }, diff --git a/mod.ts b/mod.ts index 7384d799..d9be06e7 100644 --- a/mod.ts +++ b/mod.ts @@ -171,10 +171,10 @@ try { }); const responseText = await response.text(); setOutput({ - "response": responseText, - "status_code": String(response.status), - "status_ok": String(response.ok), - "status_text": response.statusText + response: responseText, + status_code: response.status, + status_ok: response.ok, + status_text: response.statusText }); if (!response.ok) { throw new Error(`Unexpected response status \`${response.status} ${response.statusText}\`: ${responseText}`);