1
0
Fork 0
mirror of https://github.com/hadolint/hadolint-action.git synced 2024-08-16 10:09:53 +02:00

chore: also push results to env var

This commit is contained in:
Harm Weites 2022-03-31 12:49:42 +02:00
parent 1dd44fc493
commit 652bc66203
No known key found for this signature in database
GPG key ID: 512F961398DC5619

View file

@ -46,6 +46,8 @@ fi
RESULTS="${RESULTS//$'\\n'/''}"
echo "::set-output name=results::$RESULTS"
{ echo "HADOLINT_RESULTS<<EOF"; echo "$RESULTS"; echo "EOF"; } >> $GITHUB_ENV
[ -z "$HADOLINT_OUTPUT" ] || echo "Hadolint output saved to: $HADOLINT_OUTPUT"
exit $FAILED