Skip to content

Commit

Permalink
fix: Linux Powershell update (#420)
Browse files Browse the repository at this point in the history
Co-authored-by: Pim Simons <pim.simons@codit.eu>
  • Loading branch information
pim-simons and Pim Simons committed Nov 21, 2023
1 parent a4643e1 commit 9da6ae5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build/templates/run-pester-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ parameters:
testName: ''

steps:
- pwsh: 'wget -O - https://aka.ms/install-powershell.sh | sudo bash'
- pwsh: |
Import-Module Microsoft.PowerShell.Management -Force
wget -O - https://aka.ms/install-powershell.sh | sudo bash
displayName: 'Update Powershell on Linux'
condition: eq( variables['Agent.OS'], 'Linux' )
- powershell: 'Invoke-Expression -Command "& { $(Invoke-RestMethod -Uri ''https://aka.ms/install-powershell.ps1'') } -UseMSI -quiet" '
Expand Down

0 comments on commit 9da6ae5

Please sign in to comment.