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