diff --git a/dist/main.cjs b/dist/main.cjs index c6dad18..d244296 100644 --- a/dist/main.cjs +++ b/dist/main.cjs @@ -1602,7 +1602,7 @@ var require_oidc_utils = __commonJS({ Error Code : ${error.statusCode} - Error Message: ${error.result.message}`); + Error Message: ${error.message}`); }); const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value; if (!id_token) { @@ -2793,7 +2793,7 @@ var require_dist_node5 = __commonJS({ module2.exports = __toCommonJS2(dist_src_exports); var import_endpoint = require_dist_node2(); var import_universal_user_agent = require_dist_node(); - var VERSION = "8.1.1"; + var VERSION = "8.1.2"; var import_is_plain_object = require_is_plain_object(); var import_request_error = require_dist_node4(); function getBufferResponse(response) { @@ -14984,7 +14984,7 @@ var require_dist_node12 = __commonJS({ return sendRequestWithRetries(state, request2, options, createdAt, retries); } } - var VERSION = "6.0.0"; + var VERSION = "6.0.1"; var import_auth_oauth_user2 = require_dist_node9(); function createAppAuth2(options) { if (!options.appId) { diff --git a/dist/post.cjs b/dist/post.cjs index f54b096..498fdab 100644 --- a/dist/post.cjs +++ b/dist/post.cjs @@ -1602,7 +1602,7 @@ var require_oidc_utils = __commonJS({ Error Code : ${error.statusCode} - Error Message: ${error.result.message}`); + Error Message: ${error.message}`); }); const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value; if (!id_token) { @@ -2793,7 +2793,7 @@ var require_dist_node5 = __commonJS({ module2.exports = __toCommonJS2(dist_src_exports); var import_endpoint = require_dist_node2(); var import_universal_user_agent = require_dist_node(); - var VERSION = "8.1.1"; + var VERSION = "8.1.2"; var import_is_plain_object = require_is_plain_object(); var import_request_error = require_dist_node4(); function getBufferResponse(response) { @@ -2956,8 +2956,10 @@ var import_core = __toESM(require_core(), 1); // lib/post.js async function post(core2, request2) { const token = core2.getState("token"); - if (!token) + if (!token) { + core2.info("Token is not set"); return; + } await request2("DELETE /installation/token", { headers: { authorization: `token ${token}` diff --git a/package.json b/package.json index df301ed..6dd67c2 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "create-github-app-token", "private": true, "type": "module", - "version": "1.2.1", + "version": "1.2.2", "description": "GitHub Action for creating a GitHub App Installation Access Token", "scripts": { "build": "esbuild main.js post.js --bundle --outdir=dist --out-extension:.js=.cjs --platform=node --target=node16.16",