From 22924865b5bf0fefba7026e2516013d03cbfee44 Mon Sep 17 00:00:00 2001 From: Sabith KS Date: Wed, 29 May 2024 09:38:00 +0530 Subject: [PATCH] add provision to enable debug log --- action.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/action.yml b/action.yml index 66168f9..ac1db00 100644 --- a/action.yml +++ b/action.yml @@ -37,3 +37,6 @@ runs: - ${{ inputs.scanPath }} - --deployment-type - ${{ inputs.targetCompute }} + - --log + # based on ACTIONS_RUNNER_DEBUG, set to 2 for debug + - ${{ runner.os == 'Linux' && env.ACTIONS_RUNNER_DEBUG == 'true' && '2' || '3' }}