diff --git a/src/index.ts b/src/index.ts index 1f2c015..c5af7e5 100644 --- a/src/index.ts +++ b/src/index.ts @@ -311,9 +311,8 @@ class MagicNixCacheAction { .post(`http://${hostAndPort}/api/workflow-finish`) .json(); - actionsCore.info(JSON.stringify(res)); - if (res.status !== 200) { + actionsCore.info(JSON.stringify(res)); this.failInStrictMode( `Failed to trigger workflow finish hook; expected HTTP status 200 from POST to /api/workflow-finish but got ${res.status} instead`, );