Skip to content

Commit

Permalink
Revert upload-artifact v4 change
Browse files Browse the repository at this point in the history
Seems to be generally broken with the test report action dorny/test-reporter#343
  • Loading branch information
SapiensAnatis committed Dec 29, 2023
1 parent 7398e00 commit d2c06cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/test-report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ jobs:
- name: Generate report
uses: dorny/test-reporter@v1
with:
artifact: "/test-result-(.*)/"
name: "$1"
artifact: test-results
name: test report
path: "*.trx"
reporter: dotnet-trx
token: "${{ secrets.PERSONAL_ACCESS_TOKEN }}"
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ jobs:
--logger "console;verbosity=detailed"
--logger "trx;LogFileName=${{ matrix.project }}.trx"
- name: Upload test report
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
if: success() || failure() # run this step even if previous step failed
with:
name: test-result-${{ matrix.project }}
name: test-results
path: ${{ matrix.project }}/TestResults/${{ matrix.project }}.trx

0 comments on commit d2c06cb

Please sign in to comment.