|
5 | 5 |
|
6 | 6 | steps:
|
7 | 7 | - task: PowerShell@2
|
8 |
| - displayName: Install PS 7.1.0-preview.7 |
| 8 | + displayName: Install PS 7.1.1 |
9 | 9 | inputs:
|
10 | 10 | targetType: 'inline'
|
11 | 11 | script: |
|
12 |
| - $url = "https://github.com/PowerShell/PowerShell/releases/download/v7.1.0-preview.7/PowerShell-7.1.0-preview.7-win-x64.zip" |
13 |
| - $output = Join-Path -Path $(Pipeline.Workspace) -ChildPath "./PowerShell-7.1.0-preview.7-win-x64.zip" |
| 12 | + $url = "https://github.com/PowerShell/PowerShell/releases/download/v7.1.1/PowerShell-7.1.1-win-x64.zip" |
| 13 | + $output = Join-Path -Path $(Pipeline.Workspace) -ChildPath "./PowerShell-7.1.1-win-x64.zip" |
14 | 14 | (New-Object System.Net.WebClient).DownloadFile($url, $output)
|
15 |
| - $pwshPath= Join-Path -Path $(Pipeline.Workspace) -ChildPath "./PowerShell-7.1.0-preview.7/" |
| 15 | + $pwshPath= Join-Path -Path $(Pipeline.Workspace) -ChildPath "./PowerShell-7.1.1/" |
16 | 16 | Expand-Archive -Path $output -DestinationPath $pwshPath
|
17 | 17 | $pwshFullPath = Convert-Path $pwshPath
|
18 | 18 | Write-Host $pwshFullPath
|
|
22 | 22 | inputs:
|
23 | 23 | targetType: inline
|
24 | 24 | script: |
|
25 |
| - $pwshPath= Join-Path -Path $(Pipeline.Workspace) -ChildPath "./PowerShell-7.1.0-preview.7/pwsh.exe" |
| 25 | + $pwshPath= Join-Path -Path $(Pipeline.Workspace) -ChildPath "./PowerShell-7.1.1/pwsh.exe" |
26 | 26 | $command = "`$PSVersionTable `
|
27 | 27 | Install-Module platyPS -Force -Confirm:`$false -Scope CurrentUser `
|
28 | 28 | Install-Module PowerShellGet -Force -Confirm:`$false -Scope CurrentUser -SkipPublisherCheck `
|
|
33 | 33 | displayName: 'Use .NET Core sdk'
|
34 | 34 | inputs:
|
35 | 35 | packageType: sdk
|
36 |
| - version: 5.0.100-rc.1.20452.10 |
| 36 | + version: 5.0.102 |
37 | 37 |
|
38 | 38 | - task: DotNetCoreCLI@2
|
39 | 39 | displayName: 'Build'
|
|
83 | 83 | inputs:
|
84 | 84 | command: custom
|
85 | 85 | custom: msbuild
|
86 |
| - arguments: 'tools\Az.Tools.Predictor\build.proj /target:"Package" /p:Configuration=Release /p:PowerShellCoreCommandPrefix="$(Pipeline.Workspace)\\PowerShell-7.1.0-preview.7\\pwsh.exe -NonInteractive -NoLogo -NoProfile -Command" ' |
| 86 | + arguments: 'tools\Az.Tools.Predictor\build.proj /target:"Package" /p:Configuration=Release /p:PowerShellCoreCommandPrefix="$(Pipeline.Workspace)\\PowerShell-7.1.1\\pwsh.exe -NonInteractive -NoLogo -NoProfile -Command" ' |
87 | 87 |
|
88 | 88 | - task: PublishPipelineArtifact@0
|
89 | 89 | displayName: 'Save artifacts'
|
|
0 commit comments