Skip to content

Commit

Permalink
pass check-report errors to next job using artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 20, 2024
1 parent 28eccde commit e019c3f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,14 @@ jobs:
--api-url=${{ github.event.pull_request._links.self.href }}
cd ..
- name: Upload chart_report errors
uses: actions/upload-artifact@v4
if: ${{ always() && steps.check_report.outcome == 'failure' }}
with:
name: chart_report_errors
path: pr/errors
if-no-files-found: ignore

- name: Delete Namespace
if: ${{ always() && steps.oc_login.conclusion == 'success' }}
env:
Expand Down Expand Up @@ -433,6 +441,11 @@ jobs:
with:
name: submission

- name: Download chart_report errors
uses: actions/download-artifact@v4
with:
name: chart_report_errors

- name: Prepare PR comment
id: pr_comment
if: ${{ needs.setup.outputs.run_build == 'true' }}
Expand Down

0 comments on commit e019c3f

Please sign in to comment.