Skip to content

Commit 969818d

Browse files
Use example from docs to fix GH Action (#295)
1 parent 007c322 commit 969818d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/action/entrypoint.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#!/bin/sh
22
output=$(/cli/bin/run $*); status=$?;
33

4-
delimiter="$(uuidgen)"
5-
echo "response<<${delimiter}" >> "${GITHUB_OUTPUT}"
6-
echo "${output}" >> "${GITHUB_OUTPUT}"
7-
echo "${delimiter}" >> "${GITHUB_OUTPUT}"
4+
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
5+
echo "response<<$EOF" >> $GITHUB_OUTPUT
6+
echo $output >> $GITHUB_OUTPUT
7+
echo "$EOF" >> $GITHUB_OUTPUT
88

99
exit $status

0 commit comments

Comments
 (0)