mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Add Start-PSBootstrap to add installed dotnet to path
This commit is contained in:
@@ -43,6 +43,9 @@ jobs:
|
||||
- pwsh: |
|
||||
$repoRoot = "$(Build.SourcesDirectory)/PowerShell"
|
||||
|
||||
Import-Module "$repoRoot/build.psm1" -Force -Verbose
|
||||
Start-PSBootstrap -Scenario Dotnet
|
||||
|
||||
$toolPath = New-Item -ItemType Directory "$(System.DefaultWorkingDirectory)/toolPath" | Select-Object -ExpandProperty FullName
|
||||
|
||||
Write-Verbose -Verbose "dotnet tool list -g"
|
||||
|
||||
@@ -51,6 +51,9 @@ jobs:
|
||||
- pwsh: |
|
||||
$repoRoot = "$(Build.SourcesDirectory)"
|
||||
|
||||
Import-Module "$repoRoot/build.psm1" -Force -Verbose
|
||||
Start-PSBootstrap -Scenario Dotnet
|
||||
|
||||
$env:DOTNET_NOLOGO=1
|
||||
|
||||
$localLocation = "$(Pipeline.Workspace)/PSPackagesOfficial/drop_nupkg_build_nupkg"
|
||||
|
||||
Reference in New Issue
Block a user