Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
robzr committed Mar 22, 2024
1 parent a5d5101 commit e3e4d36
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,10 @@ runs:
OUTPUT_FILE=$(mktemp)
RETURN_VALUE='true'
echo '::group::sver::'
cat "$INPUT_FILE" | "$SVER_BIN" ${{ inputs.command }} >"${OUTPUT_FILE}" || RETURN_VALUE=false
cat "$OUTPUT_FILE"
echo '::endgroup::'
if [ $(wc -c < "$OUTPUT_FILE") -eq 0 ] ; then
echo "output=${RETURN_VALUE}" >>"${GITHUB_OUTPUT}"
Expand Down

0 comments on commit e3e4d36

Please sign in to comment.