Skip to content

Commit 3f60b4b

Browse files
committed
github actions: Switch to multiline string format suggested by GA docs
The validate-kernel-commits github action has the following errors: Error: Process completed with exit code 1. Error: Unable to process file command 'output' successfully. Error: Invalid value. Matching delimiter not found ''EOF'' Switch to the multiline string format suggested in the github action documentation here: https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-commands#example-of-a-multiline-string
1 parent 2db7d10 commit 3f60b4b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/validate-kernel-commits.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,11 @@ jobs:
184184
FILTERED_OUTPUT=$(echo "$OUTPUT" | grep -v "jira-user\|jira-key\|basic_auth\|Authorization\|$JIRA_API_TOKEN")
185185
186186
echo "$FILTERED_OUTPUT"
187-
echo "output<<'EOF'" >> $GITHUB_OUTPUT
188-
echo "$FILTERED_OUTPUT" >> $GITHUB_OUTPUT
189-
echo "EOF" >> $GITHUB_OUTPUT
187+
{
188+
echo "output<<EOF"
189+
echo "$FILTERED_OUTPUT"
190+
echo "EOF"
191+
} >> $GITHUB_OUTPUT
190192
191193
# Check if there are any issues based on output patterns
192194
if echo "$FILTERED_OUTPUT" | grep -q "❌ Errors:"; then

0 commit comments

Comments
 (0)