Skip to content

Commit

Permalink
Use actions/upload-artifact v3 for uploading test results to fix inco…
Browse files Browse the repository at this point in the history
…mpatibility with dorny/test-reporter@v1

dorny/test-reporter#363
  • Loading branch information
ZIMkaRU committed Feb 23, 2024
1 parent a6e0eb0 commit cb600d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-electron-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ jobs:
- name: Normalize E2E test report
run: node ./scripts/node/normalize-e2e-test-report e2e-test-report.xml
- name: Upload Linux E2E test results
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: linux-e2e-test-results
path: e2e-test-report.xml
Expand Down Expand Up @@ -231,7 +231,7 @@ jobs:
- name: Normalize E2E test report
run: node ./scripts/node/normalize-e2e-test-report e2e-test-report.xml
- name: Upload Win E2E test results
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: win-e2e-test-results
path: e2e-test-report.xml
Expand Down Expand Up @@ -265,7 +265,7 @@ jobs:
- name: Normalize E2E test report
run: node ./scripts/node/normalize-e2e-test-report e2e-test-report.xml
- name: Upload Mac E2E test results
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: mac-e2e-test-results
path: e2e-test-report.xml
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: ./scripts/setup.sh -u
- name: Run tests
run: npm test -- -- --reporter=json --reporter-option output=test-report.json
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v3
if: success() || failure()
with:
name: test-results
Expand Down

0 comments on commit cb600d0

Please sign in to comment.