Skip to content

Commit

Permalink
Don't fail on error merging
Browse files Browse the repository at this point in the history
merge has no if-files-not-found so try skipping errors when this happens.

actions/upload-artifact#520 / actions/upload-artifact#521 might allow us to change this in future.
  • Loading branch information
DanTup committed Feb 22, 2024
1 parent f5003e4 commit f1fba06
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-and-test.yml
Expand Up @@ -257,6 +257,7 @@ jobs:
name: test-logs-${{ matrix.os }}
pattern: test-logs-${{ matrix.os }}-*
delete-merged: true
continue-on-error: true # fails if empty

- name: Merge test results
uses: actions/upload-artifact/merge@v4
Expand All @@ -265,6 +266,7 @@ jobs:
name: test-results-${{ matrix.os }}
pattern: test-results-${{ matrix.os }}-*
delete-merged: true
continue-on-error: true # fails if empty

- name: Merge coverage
uses: actions/upload-artifact/merge@v4
Expand All @@ -273,6 +275,7 @@ jobs:
name: coverage-${{ matrix.os }}
pattern: coverage-${{ matrix.os }}-*
delete-merged: true
continue-on-error: true # fails if empty

- name: Merge crash dumps
uses: actions/upload-artifact/merge@v4
Expand All @@ -281,6 +284,7 @@ jobs:
name: crash-dumps-${{ matrix.os }}
pattern: crash-dumps-${{ matrix.os }}-*
delete-merged: true
continue-on-error: true # fails if empty

upload_coverage:

Expand Down

0 comments on commit f1fba06

Please sign in to comment.