Skip to content

Commit

Permalink
chore: Do not print full compatibility logs, fail on not compatible (#…
Browse files Browse the repository at this point in the history
…312)

* Do not print full compatibility logs, fail on not compatible
  • Loading branch information
MarcinVaadin authored Feb 12, 2025
1 parent d64b6eb commit bc7a7bf
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,20 @@ jobs:
dir: ${{fromJson(needs.waitForResults.outputs.directories)}}
steps:
- uses: actions/download-artifact@v4
- run: ls
- run: |
cat ${{ matrix.dir }}/report.md | head -n 3 | sed s/#/###/ > ${{ matrix.dir }}/report.short.md
- name: Publish report
uses: mshick/add-pr-comment@v2
with:
message-id: verify-plugin-comment-${{ matrix.dir }}
refresh-message-position: true
message-path: |
${{ matrix.dir }}/report.md
- uses: int128/hide-comment-action@v1
with:
contains: "Compatible."
${{ matrix.dir }}/report.short.md
- name: Fail on not compatible
run: |
if grep -q "Compatible." ${{ matrix.dir }}/report.short.md; then
echo "✅ Compatible."
else
echo "❌ Not compatible!"
exit 1
fi

0 comments on commit bc7a7bf

Please sign in to comment.