From 0fa4d4e693840fee40d35df595d088b9399d812c Mon Sep 17 00:00:00 2001 From: Timothy Schenk Date: Fri, 27 Oct 2023 21:15:36 +0200 Subject: [PATCH] ci: final setup --- build/Build.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/Build.cs b/build/Build.cs index 2df5cd1..ed0ee4f 100644 --- a/build/Build.cs +++ b/build/Build.cs @@ -86,9 +86,9 @@ sealed class Build : NukeBuild .SetProjectKey("wonderking_continuity_AYeecUUTs-PH__JrTRky") .SetLogin(SonarToken) .SetServer(SonarHostUrl); - SonarScannerTasks.SonarScannerBegin(sonarScannerSettings); + var scannerBegin = SonarScannerTasks.SonarScannerBegin(sonarScannerSettings); DotNetTasks.DotNetBuild(settings => settings.SetNoRestore(true)); - SonarScannerTasks.SonarScannerEnd(sonarScannerSettings); + SonarScannerTasks.SonarScannerEnd(scannerBegin); }); Target Deploy => _ => _.DependsOn(Pack).Executes(() =>