From 37ac97c55a0e2fdbbedcc0dd60b2c7c819bd2968 Mon Sep 17 00:00:00 2001 From: Christiaan de Ridder Date: Sat, 19 Oct 2024 14:15:08 +0200 Subject: [PATCH] Upload .NET test results --- .github/workflows/build-and-test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 57999c4..19a7bac 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -62,12 +62,12 @@ jobs: category: "/language:${{matrix.language}}" - name: Test - run: dotnet test --no-build --verbosity normal --logger trx --results-directory "TestResults-${{ matrix.dotnet-version }}" + run: dotnet test --no-build --verbosity normal --logger trx --results-directory "TestResults" - name: Upload test results uses: actions/upload-artifact@v4 with: - name: dotnet-results-${{ matrix.dotnet-version }} - path: TestResults-${{ matrix.dotnet-version }} + name: dotnet-results + path: TestResults # Use always() to always run this step to publish test results when there are test failures if: ${{ always() }}