From 535d07486fa77e3cb80f7af512e761f5e0c1c4be Mon Sep 17 00:00:00 2001 From: Ronald Barendse Date: Tue, 11 Oct 2022 23:42:32 +0200 Subject: [PATCH] Re-add --no-build to dotnet pack Should be fixed in .NET SDK 7: https://github.com/dotnet/aspnetcore/issues/43062 --- build/azure-pipelines.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/build/azure-pipelines.yml b/build/azure-pipelines.yml index 5ba27baff8..c41d2550be 100644 --- a/build/azure-pipelines.yml +++ b/build/azure-pipelines.yml @@ -72,7 +72,6 @@ stages: displayName: Use .NET $(dotnetVersion) inputs: version: $(dotnetVersion) - performMultiLevelLookup: true includePreviewVersions: $(dotnetIncludePreviewVersions) - task: DotNetCoreCLI@2 displayName: Run dotnet restore @@ -111,7 +110,7 @@ stages: } } - dotnet pack $(solution) --configuration $(buildConfiguration) -p:BuildProjectReferences=false --output $(Build.ArtifactStagingDirectory)/nupkg + dotnet pack $(solution) --configuration $(buildConfiguration) --no-build --output $(Build.ArtifactStagingDirectory)/nupkg - script: | sha="$(Build.SourceVersion)" sha=${sha:0:7} @@ -246,7 +245,6 @@ stages: displayName: Use .NET $(dotnetVersion) inputs: version: $(dotnetVersion) - performMultiLevelLookup: true includePreviewVersions: $(dotnetIncludePreviewVersions) - task: DotNetCoreCLI@2 displayName: Run dotnet test @@ -283,7 +281,6 @@ stages: displayName: Use .NET $(dotnetVersion) inputs: version: $(dotnetVersion) - performMultiLevelLookup: true includePreviewVersions: $(dotnetIncludePreviewVersions) - task: DotNetCoreCLI@2 displayName: Run dotnet test @@ -418,7 +415,6 @@ stages: displayName: Use .NET $(dotnetVersion) inputs: version: $(dotnetVersion) - performMultiLevelLookup: true includePreviewVersions: $(dotnetIncludePreviewVersions) # Linux containers smooth - task: PowerShell@2