Skip to content

Commit 1f855ac

Browse files
wilmardobergmeister
authored andcommitted
Removes update of pwsh since appveyor images are updated (#1084)
1 parent 9acf387 commit 1f855ac

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

appveyor.yml

-10
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,6 @@ cache:
1919
install:
2020
- ps: if ($env:PowerShellEdition -eq 'WindowsPowerShell') { Import-Module .\tools\appveyor.psm1; Invoke-AppveyorInstall }
2121
- pwsh: if ($env:PowerShellEdition -eq 'PowerShellCore') { Import-Module .\tools\appveyor.psm1; Invoke-AppveyorInstall }
22-
- ps: |
23-
# Windows image still has version 6.0.0 of pwsh but 6.0.2 is required due to System.Management.Automation package https://github.com/appveyor/ci/issues/2230
24-
if ($env:PowerShellEdition -eq 'PowerShellCore' -and $PSVersionTable.PSVersion -lt [version]'6.0.2' -and $IsWindows) {
25-
$msiPath = "$env:TEMP\PowerShell-6.0.2-win-x64.msi"
26-
(New-Object Net.WebClient).DownloadFile('https://github.com/PowerShell/PowerShell/releases/download/v6.0.2/PowerShell-6.0.2-win-x64.msi', $msiPath)
27-
Write-Verbose 'Installing pwsh 6.0.2' -Verbose
28-
Start-Process 'msiexec.exe' -Wait -ArgumentList "/i $msiPath /quiet"
29-
Remove-Item $msiPath
30-
$env:Path = "$env:ProgramFiles\PowerShell\6.0.2;$env:Path"
31-
}
3222

3323
build_script:
3424
- ps: |

0 commit comments

Comments
 (0)