From ee67b1b0a03032eba4a5e4afae9234353b60043f Mon Sep 17 00:00:00 2001 From: Terje Sandstrom Date: Wed, 3 Apr 2024 16:06:17 +0200 Subject: [PATCH] Added net8 builds for netcore console. Removed diagnostics --- .../workflows/NUnitConsoleAndEngine.CI.yml | 38 ++++++++++--------- build.cmd | 2 +- .../nunit.console-runner.netcore.nuspec | 18 +++++++++ 3 files changed, 39 insertions(+), 19 deletions(-) diff --git a/.github/workflows/NUnitConsoleAndEngine.CI.yml b/.github/workflows/NUnitConsoleAndEngine.CI.yml index 20a8d3e10..8730c8edc 100644 --- a/.github/workflows/NUnitConsoleAndEngine.CI.yml +++ b/.github/workflows/NUnitConsoleAndEngine.CI.yml @@ -38,24 +38,26 @@ jobs: run: dotnet tool restore - name: 🔨 Build and Test - run: dotnet tool run dotnet-cake --verbosity=diagnostic --target=Test --test-run-name=Windows --configuration=Release - - - name: 📦 Package - run: dotnet tool run dotnet-cake --target=Package - - - name: 💾 Upload build artifacts - uses: actions/upload-artifact@v4 - with: - name: Package - path: package - - - name: 💾 Upload test results - uses: actions/upload-artifact@v4 - with: - name: Test results (Windows) - path: test-results - # Use always() to always run this step to publish test results when there are test failures - if: ${{ always() }} + run: dotnet tool run dotnet-cake --target=Test --test-run-name=Windows --configuration=Release + # If you need to get more verbose logging, add the following to the dotnet-cake above: --verbosity=diagnostic + +# Wait with this until package errors (tests following packaging) are all fixed + # - name: 📦 Package + # run: dotnet tool run dotnet-cake --target=Package + + # - name: 💾 Upload build artifacts + # uses: actions/upload-artifact@v4 + # with: + # name: Package + # path: package + + # - name: 💾 Upload test results + # uses: actions/upload-artifact@v4 + # with: + # name: Test results (Windows) + # path: test-results + # # Use always() to always run this step to publish test results when there are test failures + # if: ${{ always() }} # build-linux: # name: Linux Build diff --git a/build.cmd b/build.cmd index 0f633c831..0a1979f68 100644 --- a/build.cmd +++ b/build.cmd @@ -8,4 +8,4 @@ set DOTNET_NOLOGO=1 dotnet tool restore @if %ERRORLEVEL% neq 0 goto :eof -dotnet cake --verbosity=diagnostic %* +dotnet cake %* diff --git a/nuget/runners/nunit.console-runner.netcore.nuspec b/nuget/runners/nunit.console-runner.netcore.nuspec index 1540808f3..f2b9ea169 100644 --- a/nuget/runners/nunit.console-runner.netcore.nuspec +++ b/nuget/runners/nunit.console-runner.netcore.nuspec @@ -45,6 +45,24 @@ + + + + + + + + + + + + + + + + + +