diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 46026ca..ffcda51 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,7 +46,7 @@ jobs: shell: powershell run: | .\.sonar\scanner\dotnet-sonarscanner begin /k:"HangfireIO_Hangfire.Autofac" /o:"hangfireio" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.dotcover.reportsPaths=dotCover.Output.html /d:sonar.scanner.scanAll=false - dotnet restore ~/.config/NuGet/NuGet.Config + dotnet restore --configfile ~/.config/NuGet/NuGet.Config dotnet build --no-restore .\.sonar\scanner\dotnet-dotcover test --no-build --dcReportType=HTML .\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}" \ No newline at end of file