From c141990b1dc6163d4a79909f78722691e1761bb6 Mon Sep 17 00:00:00 2001 From: bm8 bmFtZQ Date: Thu, 23 May 2024 15:45:29 +0700 Subject: [PATCH] Update service_test2.yml Signed-off-by: bm8 bmFtZQ --- .github/workflows/service_test2.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/service_test2.yml b/.github/workflows/service_test2.yml index 8ad83a7..1231799 100644 --- a/.github/workflows/service_test2.yml +++ b/.github/workflows/service_test2.yml @@ -37,9 +37,12 @@ jobs: INPUT_DESC=$(echo "$INPUT_JSON" | jq -r 'keys_unsorted[]') for ITEM in $INPUT_DESC; do + echo "ITEM is : ${ITEM}" # Extract description and value GET_WORKFLOW_NAME="github.event.inputs.${ITEM}" + value=$(echo "${{ fromJSON(toJson($GET_WORKFLOW_NAME)) }}") + echo "The value of service_test1 is: $value" # Check if the description corresponds to a workflow in the list and its value is true if [[ "$WORKFLOW_NAME" == "true" ]]; then echo "Triggering workflow run for $WORKFLOW_NAME..."