mirror of
https://github.com/mikefarah/yq.git
synced 2026-09-01 14:14:52 +08:00
outputs support in the action
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
#!/bin/sh -l
|
||||
|
||||
echo "$1"
|
||||
eval $1
|
||||
echo "::debug::\$cmd: $1"
|
||||
RESULT=$(eval "$1")
|
||||
echo "::debug::\$RESULT: $RESULT"
|
||||
echo ::set-output name=result::"$RESULT"
|
||||
|
||||
Reference in New Issue
Block a user