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 c141990 commit ea4752b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/service_test2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
echo "ITEM is : ${ITEM}"
# Extract description and value
GET_WORKFLOW_NAME="github.event.inputs.${ITEM}"
value=$(echo "${{ fromJSON(toJson($GET_WORKFLOW_NAME)) }}")
value=$(echo "${{ toJson(github.event) }}" | jq -r ".$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
Expand Down

0 comments on commit ea4752b

Please sign in to comment.