diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3fd712d..e700539 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -180,6 +180,8 @@ jobs: with: name: Packages path: Artifacts/Packages + - name: Setup .NET SDKs + uses: actions/setup-dotnet@v4 - name: Publish run: | echo "Found the following packages to push:" @@ -190,7 +192,7 @@ jobs: done for entry in Artifacts/Packages/*.nupkg do - nuget push $entry -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGET_API_KEY}} -SkipDuplicate + dotnet nuget push $entry --source https://api.nuget.org/v3/index.json --api-key "${{secrets.NUGET_API_KEY}}" --skip-duplicate done - name: Check pre-release id: check-pre-release diff --git a/Pipeline/Build.MutationTests.cs b/Pipeline/Build.MutationTests.cs index 2c2298c..6e59c7b 100644 --- a/Pipeline/Build.MutationTests.cs +++ b/Pipeline/Build.MutationTests.cs @@ -40,6 +40,7 @@ partial class Build DotNetToolInstall(_ => _ .SetPackageName("dotnet-stryker") + .SetVersion("4.7.0") .SetToolInstallationPath(toolPath)); Dictionary projects = new()