Skip to content

Commit 6eb08d4

Browse files
committed
Update sign-tool-predictor.yml for Azure Pipelines
1 parent e409ba5 commit 6eb08d4

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.azure-pipelines/sign-tool-predictor.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ pool:
55

66
steps:
77
- task: PowerShell@2
8-
displayName: Install PS 7.1.1
8+
displayName: Install PS 7.2
99
inputs:
1010
targetType: 'inline'
1111
script: |
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"
12+
$url = "https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-preview.3/PowerShell-7.2.0-preview.3-win-x64.zip"
13+
$output = Join-Path -Path $(Pipeline.Workspace) -ChildPath "./PowerShell-7.2.0-preview.3-win-x64.zip"
1414
(New-Object System.Net.WebClient).DownloadFile($url, $output)
15-
$pwshPath= Join-Path -Path $(Pipeline.Workspace) -ChildPath "./PowerShell-7.1.1/"
15+
$pwshPath= Join-Path -Path $(Pipeline.Workspace) -ChildPath "./PowerShell-7.2.0-preview.3/"
1616
Expand-Archive -Path $output -DestinationPath $pwshPath
1717
$pwshFullPath = Convert-Path $pwshPath
1818
Write-Host $pwshFullPath
@@ -22,18 +22,18 @@ steps:
2222
inputs:
2323
targetType: inline
2424
script: |
25-
$pwshPath= Join-Path -Path $(Pipeline.Workspace) -ChildPath "./PowerShell-7.1.1/pwsh.exe"
25+
$pwshPath= Join-Path -Path $(Pipeline.Workspace) -ChildPath "./PowerShell-7.2.0-preview.3/pwsh.exe"
2626
$command = "`$PSVersionTable `
2727
Install-Module platyPS -Force -Confirm:`$false -Scope CurrentUser `
2828
Install-Module PowerShellGet -Force -Confirm:`$false -Scope CurrentUser -SkipPublisherCheck `
2929
Install-Module Az -Repository PSGallery -RequiredVersion 3.0.0 -Confirm:`$false -Scope CurrentUser -AllowClobber -Force"
3030
Invoke-Command -ScriptBlock { param ($pwshPath, $command) & $pwshPath -Command $command } -ArgumentList $pwshPath, $command
3131
3232
- task: UseDotNet@2
33-
displayName: 'Install DotNet 5.0 SDK'
33+
displayName: 'Install DotNet 6.0 SDK'
3434
inputs:
3535
packageType: sdk
36-
version: 5.0.x
36+
version: 6.0.100-preview.1
3737

3838
- task: DotNetCoreCLI@2
3939
displayName: 'Build'
@@ -89,7 +89,7 @@ steps:
8989
inputs:
9090
command: custom
9191
custom: msbuild
92-
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" '
92+
arguments: 'tools\Az.Tools.Predictor\build.proj /target:"Package" /p:Configuration=Release /p:PowerShellCoreCommandPrefix="$(Pipeline.Workspace)\\PowerShell-7.2.0-preview.3\\pwsh.exe -NonInteractive -NoLogo -NoProfile -Command" '
9393

9494
- task: PublishPipelineArtifact@0
9595
displayName: 'Save artifacts'

0 commit comments

Comments
 (0)