From f591eed1fb30f4d10536f934916859583ad124f3 Mon Sep 17 00:00:00 2001 From: Scott Galloway Date: Thu, 29 Aug 2024 10:38:31 +0100 Subject: [PATCH] Action update --- .github/workflows/main.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5283728..8442dc5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,7 +25,14 @@ jobs: run: dotnet build --configuration Release ./Umami.Net/Umami.Net.csproj --no-restore - name: Run tests - run: dotnet test --configuration Release ./Umami.Net.Test/Umami.Net.Test.csproj --no-build --verbosity normal + run: dotnet test --configuration Release ./Umami.Net.Test/Umami.Net.Test.csproj --no-build --logger:"trx;LogFileName=TestResults.trx" --results-directory "./TestResults" --verbosity normal + + - name: Upload Test Results + if: always() + uses: actions/upload-artifact@v3 + with: + name: test-results + path: ./TestResults - name: Pack project run: dotnet pack --configuration Release ./Umami.Net/Umami.Net.csproj --no-build --output ./nupkg