From 152fcd7bedd17325d72bc70a47959572e9688214 Mon Sep 17 00:00:00 2001 From: Mathieu Gamache Date: Tue, 17 Dec 2024 17:28:38 -0500 Subject: [PATCH] Update Build.ps1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Gérald Barré --- Build.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Build.ps1 b/Build.ps1 index 1c9414e..977cf22 100644 --- a/Build.ps1 +++ b/Build.ps1 @@ -25,7 +25,7 @@ Process { Exec { & dotnet test -c Release --no-build --results-directory "$outputDir" --no-restore -l "trx" -l "console;verbosity=detailed" } Exec { & dotnet pack -c Release --no-build -o "$outputDir" } - if (($null -ne $env:NUGET_SOURCE ) -and ($null -ne $env:NUGET_API_KEY) -and ($IsLinux)) { + if (($null -ne $env:NUGET_SOURCE) -and ($null -ne $env:NUGET_API_KEY) -and ($IsLinux)) { Exec { & dotnet nuget push "$nupkgsPath" -s $env:NUGET_SOURCE -k $env:NUGET_API_KEY --skip-duplicate } } }