From c33f5a6199c86c66ae2ac33715a494b9145c28e5 Mon Sep 17 00:00:00 2001 From: Timothy Schenk Date: Fri, 27 Oct 2023 20:42:53 +0200 Subject: [PATCH] ci: further sonarscanner setup --- build/Build.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build/Build.cs b/build/Build.cs index c1b8608..99bcecc 100644 --- a/build/Build.cs +++ b/build/Build.cs @@ -89,6 +89,8 @@ sealed class Build : NukeBuild .SetProjectKey(SonarProjectKey) .SetServer(SonarHostUrl); SonarScannerTasks.SonarScannerBegin(sonarScannerSettings); + DotNetTasks.DotNetBuild(settings => settings.SetNoRestore(true)); + SonarScannerTasks.SonarScannerEnd(); }); Target Deploy => _ => _.DependsOn(Pack).Executes(() =>