Skip to content

Commit

Permalink
ci: support multiline
Browse files Browse the repository at this point in the history
  • Loading branch information
TheUnderScorer committed Nov 25, 2024
1 parent 4969505 commit 05a8afc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/check-template-consistency.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ jobs:
- name: Get diff
id: diff
run: |
echo "diff=$(git diff --name-only HEAD)" >> "$GITHUB_OUTPUT"
echo 'diff<<EOF'
$(git diff --name-only HEAD)
echo EOF
>> "$GITHUB_OUTPUT"
echo "has_diff=1" >> "$GITHUB_OUTPUT"
- name: Print diff details
Expand Down

0 comments on commit 05a8afc

Please sign in to comment.