From 643c369303f996e767483f2a6b31331b0fb53370 Mon Sep 17 00:00:00 2001 From: Luc Perkins Date: Mon, 20 May 2024 08:29:33 -0300 Subject: [PATCH] Add info statement about HTTP response --- src/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/index.ts b/src/index.ts index 0341814..1f2c015 100644 --- a/src/index.ts +++ b/src/index.ts @@ -311,6 +311,8 @@ class MagicNixCacheAction { .post(`http://${hostAndPort}/api/workflow-finish`) .json(); + actionsCore.info(JSON.stringify(res)); + if (res.status !== 200) { this.failInStrictMode( `Failed to trigger workflow finish hook; expected HTTP status 200 from POST to /api/workflow-finish but got ${res.status} instead`,