outputs support in the action

This commit is contained in:
Chris Gruel
2021-06-09 08:49:04 +10:00
committed by Mike Farah
parent 01e478e81d
commit 1a49f5222b
3 changed files with 35 additions and 4 deletions
+4 -2
View File
@@ -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"