From 17dc7e895bf955c9f39a1a37c6a7108e9d3318ac Mon Sep 17 00:00:00 2001 From: Bradley Grainger Date: Sat, 5 Oct 2024 08:27:56 -0700 Subject: [PATCH] Update upload-artifact to v4. upload-artifact v3 is deprecated. Update test-reporter to v1.9.1; the v1 tag doesn't point at the latest version. Pinning to v1.9.1 was recommended here: https://github.com/dorny/test-reporter/issues/363#issuecomment-2381625959. --- .github/workflows/ci.yaml | 2 +- .github/workflows/test-report.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8382b29..d542001 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -27,7 +27,7 @@ jobs: run: dotnet test --configuration Release --no-build --logger "trx;LogFileName=test-results.trx" - name: Upload Test Results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: success() || failure() with: name: test-results diff --git a/.github/workflows/test-report.yaml b/.github/workflows/test-report.yaml index 7c22900..98976ad 100644 --- a/.github/workflows/test-report.yaml +++ b/.github/workflows/test-report.yaml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Publish Test Results - uses: dorny/test-reporter@v1 + uses: dorny/test-reporter@v1.9.1 with: artifact: test-results name: Xunit Tests