From ba246870462a887d963b47a7f051f338c9490111 Mon Sep 17 00:00:00 2001 From: Jay Malhotra <5047192+SapiensAnatis@users.noreply.github.com> Date: Fri, 29 Dec 2023 20:10:21 +0000 Subject: [PATCH] Revert upload-artifact v4 change Seems to be generally broken with the test report action https://github.com/dorny/test-reporter/issues/343 --- .github/workflows/test-report.yaml | 5 ++--- .github/workflows/test.yaml | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test-report.yaml b/.github/workflows/test-report.yaml index 88201ad9f..fa345fe27 100644 --- a/.github/workflows/test-report.yaml +++ b/.github/workflows/test-report.yaml @@ -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 }}" diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 5a87f7211..50bdd93f0 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -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