Skip to content

Commit

Permalink
Try uploading large error report as Artifact
Browse files Browse the repository at this point in the history
Try uploading large error report as artifect
  • Loading branch information
Phikho-cc committed Oct 26, 2024
1 parent 7bc3629 commit 19d1213
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/quality-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,16 @@ jobs:
run: |
python ./scripts/check_quality.py
- name: Upload Logs to GitHub Summary
- name: Upload Quality Check Summary as Artifact
if: always()
run: |
cat ./check_quality_summary.txt >> $GITHUB_STEP_SUMMARY
uses: actions/upload-artifact@v3
with:
name: check-quality-summary
path: ./check_quality_summary.txt

- name: Fail on Errors
if: steps.quality_check.outcome == 'failure'
run: |
echo "Quality check failed due to errors."
exit 1

0 comments on commit 19d1213

Please sign in to comment.