Skip to content

Commit 133e8ca

Browse files
committed
Update sign-tool-predictor.yml for Azure Pipelines
1 parent 97e5352 commit 133e8ca

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

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

Lines changed: 7 additions & 7 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.0-preview.7
8+
displayName: Install PS 7.1.1
99
inputs:
1010
targetType: 'inline'
1111
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"
1414
(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/"
1616
Expand-Archive -Path $output -DestinationPath $pwshPath
1717
$pwshFullPath = Convert-Path $pwshPath
1818
Write-Host $pwshFullPath
@@ -22,7 +22,7 @@ steps:
2222
inputs:
2323
targetType: inline
2424
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"
2626
$command = "`$PSVersionTable `
2727
Install-Module platyPS -Force -Confirm:`$false -Scope CurrentUser `
2828
Install-Module PowerShellGet -Force -Confirm:`$false -Scope CurrentUser -SkipPublisherCheck `
@@ -33,7 +33,7 @@ steps:
3333
displayName: 'Use .NET Core sdk'
3434
inputs:
3535
packageType: sdk
36-
version: 5.0.100-rc.1.20452.10
36+
version: 5.0.102
3737

3838
- task: DotNetCoreCLI@2
3939
displayName: 'Build'
@@ -83,7 +83,7 @@ steps:
8383
inputs:
8484
command: custom
8585
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" '
8787

8888
- task: PublishPipelineArtifact@0
8989
displayName: 'Save artifacts'

0 commit comments

Comments
 (0)