Merge pull request #3074 from eerhardt/FixBuild
Move RestorePackages to Prepare, not Init.
This commit is contained in:
commit
5e947c5fcd
1 changed files with 2 additions and 3 deletions
|
@ -17,7 +17,7 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
{
|
||||
public class PrepareTargets
|
||||
{
|
||||
[Target(nameof(Init))]
|
||||
[Target(nameof(Init), nameof(RestorePackages))]
|
||||
public static BuildTargetResult Prepare(BuildTargetContext c) => c.Success();
|
||||
|
||||
[Target(nameof(CheckPrereqCmakePresent), nameof(CheckPlatformDependencies))]
|
||||
|
@ -38,8 +38,7 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
nameof(UpdateTemplateVersions),
|
||||
nameof(CheckPrereqs),
|
||||
nameof(LocateStage0),
|
||||
nameof(ExpectedBuildArtifacts),
|
||||
nameof(RestorePackages))]
|
||||
nameof(ExpectedBuildArtifacts))]
|
||||
public static BuildTargetResult Init(BuildTargetContext c)
|
||||
{
|
||||
var configEnv = Environment.GetEnvironmentVariable("CONFIGURATION");
|
||||
|
|
Loading…
Reference in a new issue