mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-11 05:52:19 +02:00
[CI] Condense NuGet Restore into MSBuild Tasks (#27028)
* Remove NuGet Restore tasks and incorporate msbuild restore target * Add RestorePackagesConfig msbuild argument * Add RestorePackagesConfig argument for installer * Remove NuGet installer task * Added Nuget Restore static graph * Applied build and restore changes to release pipeline * Removed NuGet Restore Static Graph * Set NuGet Restore Graph only to main PowerToys solution * Removed typo * Fix path format issue * Added release pattern * Removed NuGet Restore Package Graph Options * Updating NuGet authenticate task. * Use restore switch in CI * Use restore switch in Release * Removed Packages Path
This commit is contained in:
@@ -18,7 +18,7 @@ steps:
|
||||
inputs:
|
||||
solution: "**/installer/PowerToysSetup.sln"
|
||||
vsVersion: 17.0
|
||||
msbuildArgs: /p:CIBuild=true /bl:$(Build.SourcesDirectory)\msbuild.binlog /t:PowerToysSetupCustomActions /p:RunBuildEvents=true /p:PerUser=${{parameters.perUserArg}}
|
||||
msbuildArgs: -restore /p:RestorePackagesConfig=true /p:RestoreConfigFile="$(Build.SourcesDirectory)\.pipelines\release-nuget.config" /p:CIBuild=true /bl:$(Build.SourcesDirectory)\msbuild.binlog /t:PowerToysSetupCustomActions /p:RunBuildEvents=true /p:PerUser=${{parameters.perUserArg}}
|
||||
platform: $(BuildPlatform)
|
||||
configuration: $(BuildConfiguration)
|
||||
clean: true
|
||||
|
||||
Reference in New Issue
Block a user