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