mirror of
https://github.com/koenrh/dnscontrol-action.git
synced 2024-12-26 09:12:09 +08:00
Fix ShellCheck SC2129
This commit is contained in:
parent
1630c25e00
commit
53bf397b5d
1 changed files with 8 additions and 6 deletions
|
@ -32,12 +32,14 @@ FILTERED_OUTPUT="$(echo "$OUTPUT" | /filter-preview-output.sh)"
|
||||||
# https://github.com/orgs/community/discussions/26288#discussioncomment-3876281
|
# https://github.com/orgs/community/discussions/26288#discussioncomment-3876281
|
||||||
DELIMITER="DNSCONTROL-$RANDOM"
|
DELIMITER="DNSCONTROL-$RANDOM"
|
||||||
|
|
||||||
echo "output<<$DELIMITER" >> "$GITHUB_OUTPUT"
|
{
|
||||||
echo "$OUTPUT" >> "$GITHUB_OUTPUT"
|
echo "output<<$DELIMITER"
|
||||||
echo "$DELIMITER" >> "$GITHUB_OUTPUT"
|
echo "$OUTPUT"
|
||||||
|
echo "$DELIMITER"
|
||||||
|
|
||||||
echo "preview_comment<<$DELIMITER" >> "$GITHUB_OUTPUT"
|
echo "preview_comment<<$DELIMITER"
|
||||||
echo "$FILTERED_OUTPUT" >> "$GITHUB_OUTPUT"
|
echo "$FILTERED_OUTPUT"
|
||||||
echo "$DELIMITER" >> "$GITHUB_OUTPUT"
|
echo "$DELIMITER"
|
||||||
|
} >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
exit $EXIT_CODE
|
exit $EXIT_CODE
|
||||||
|
|
Loading…
Reference in a new issue