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 ea4752b commit f9b6b41
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/service_test2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ jobs:
echo "ITEM is : ${ITEM}"
# Extract description and value
value=$(echo "${{ toJson(github.event.inputs) }}" | jq -r "."${ITEM}" // empty")
echo "The value of $ITEM is: $value"
GET_WORKFLOW_NAME="github.event.inputs.${ITEM}"
value=$(echo "${{ toJson(github.event) }}" | jq -r ".$GET_WORKFLOW_NAME")
echo "The value of service_test1 is: $value"
Expand Down

0 comments on commit f9b6b41

Please sign in to comment.