From 9648cbb4b54e8e20dae0f00e08c0ff61c75b0927 Mon Sep 17 00:00:00 2001 From: Boring3 <16686147+Nyrest@users.noreply.github.com> Date: Thu, 15 Aug 2024 10:09:58 +0800 Subject: [PATCH] Update publish.yml --- .github/workflows/publish.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 25fd687..8d7d14b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -26,7 +26,8 @@ jobs: 3.1.x 5.0.x 6.0.x - 7.0.x + 8.0.x + 9.0.x include-prerelease: true - name: Restore dependencies run: dotnet restore @@ -48,11 +49,15 @@ jobs: 3.1.x 5.0.x 6.0.x + 8.0.x + 9.0.x include-prerelease: true - name: Restore dependencies run: dotnet restore - name: Build run: dotnet build -c Release --no-restore -p:NoWarn=CS1591 + - name: Test Again + run: dotnet test -c Release --no-build --no-restore --verbosity normal - name: Pack run: dotnet pack -o publishOutput -c Release --no-restore --no-build --verbosity normal # Runs a set of commands using the runners shell