Skip to content

Commit

Permalink
fix: matrix build
Browse files Browse the repository at this point in the history
  • Loading branch information
warnyul committed Jul 31, 2024
1 parent 04938bd commit 1393d1e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ jobs:
JUNIT5_ROBOLECTRIC_EXTENSION_GPG_SIGNING_PASSWORD: '${{ secrets.JUNIT5_ROBOLECTRIC_EXTENSION_GPG_SIGNING_PASSWORD }}'
- name: Upload unit test report
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
if: ${{ always() && hashFiles('**/test-results/**/*.xml') != '' }}
with:
name: ${{ matrix.os }}-unit-test-report
path: |
Expand All @@ -70,7 +71,7 @@ jobs:
retention-days: 5
- name: Upload coverage report
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
if: ${{ hashFiles('build/reports/kover/report.xml') != '' }}
if: ${{ always() && hashFiles('build/reports/kover/report.xml') != '' }}
with:
name: ${{ matrix.os }}-kover-report
path: ${{ github.workspace }}/build/reports/kover/report.xml
Expand Down

0 comments on commit 1393d1e

Please sign in to comment.