We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4643e1 commit 9da6ae5Copy full SHA for 9da6ae5
1 file changed
build/templates/run-pester-tests.yml
@@ -3,7 +3,9 @@ parameters:
3
testName: ''
4
5
steps:
6
- - pwsh: 'wget -O - https://aka.ms/install-powershell.sh | sudo bash'
+ - pwsh: |
7
+ Import-Module Microsoft.PowerShell.Management -Force
8
+ wget -O - https://aka.ms/install-powershell.sh | sudo bash
9
displayName: 'Update Powershell on Linux'
10
condition: eq( variables['Agent.OS'], 'Linux' )
11
- powershell: 'Invoke-Expression -Command "& { $(Invoke-RestMethod -Uri ''https://aka.ms/install-powershell.ps1'') } -UseMSI -quiet" '
0 commit comments