Skip to content

Commit b2e43b1

Browse files
author
Justin Chen
committed
undo changes in yml file
1 parent 7df4e67 commit b2e43b1

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.vsts-ci/templates/ci-general.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ parameters:
22
pwsh: true
33

44
steps:
5-
# - powershell: |
6-
# Write-Host "Installing PowerShell Daily..."
5+
- powershell: |
6+
Write-Host "Installing PowerShell Daily..."
77
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
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
1111
12-
# ./install-powershell.ps1 -Destination $powerShellPath -Daily
12+
./install-powershell.ps1 -Destination $powerShellPath -Daily
1313
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
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
1818
1919
- pwsh: '$PSVersionTable'
2020
displayName: Display PowerShell version information

0 commit comments

Comments
 (0)