From 95c79a6a99cf8d0af4a77d1e167f8671aebd7412 Mon Sep 17 00:00:00 2001 From: Yoland Y <4950057+yoland68@users.noreply.github.com> Date: Thu, 13 Jun 2024 10:37:42 -0700 Subject: [PATCH] Print status code --- action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/action.yml b/action.yml index 26d6bc5..91710b9 100644 --- a/action.yml +++ b/action.yml @@ -262,6 +262,7 @@ runs: echo "$payload" response_code=$(curl -o "${{ github.workspace }}/application.log" \ + -s -w "%{http_code}" \ -X POST "${{inputs.api_endpoint}}" \ -H "Content-Type: application/json" \ -d "$payload")