We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eeea1e8 commit 74c273aCopy full SHA for 74c273a
.vsts-ci/templates/ci-general.yml
@@ -2,20 +2,6 @@ parameters:
2
pwsh: true
3
4
steps:
5
- - powershell: |
6
- Write-Host "Installing PowerShell Daily..."
7
-
8
- # Use `AGENT_TEMPDIRECTORY` to make sure the downloaded PowerShell is cleaned up.
9
- $powerShellPath = Join-Path -Path $env:AGENT_TEMPDIRECTORY -ChildPath 'powershell'
10
- Invoke-WebRequest -Uri https://aka.ms/install-powershell.ps1 -OutFile ./install-powershell.ps1
11
12
- ./install-powershell.ps1 -Destination $powerShellPath -Daily
13
14
- # Using `prependpath` to update the PATH just for this build.
15
- Write-Host "##vso[task.prependpath]$powerShellPath"
16
- displayName: Install PowerShell Daily
17
- continueOnError: true
18
19
- pwsh: '$PSVersionTable'
20
displayName: Display PowerShell version information
21
0 commit comments