Skip to content

Commit

Permalink
Update service_test2.yml
Browse files Browse the repository at this point in the history
Signed-off-by: bm8 bmFtZQ <[email protected]>
  • Loading branch information
tainguyenbp authored May 23, 2024
1 parent a9a0b5c commit d339fd2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/service_test2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ jobs:
echo "ITEM is : ${ITEM}"
# Extract description and value
WORKFLOW_NAME=$(echo "${{ toJson(github.event.inputs) }}" | jq -r '.`${ITEM}`')
WORKFLOW_NAME=$(echo "$INPUT_JSON" | | jq -r --arg ITEM "$ITEM" '.[$ITEM]')
echo "The value of $ITEM is: $WORKFLOW_NAME"
if [[ "$WORKFLOW_NAME" == "true" ]]; then
Expand Down

0 comments on commit d339fd2

Please sign in to comment.