[Ubuntu] pin powershell-core version (#6611)

This commit is contained in:
Mikhail Koliada
2022-11-21 19:56:42 +01:00
committed by GitHub
parent 2b33da2a33
commit 1c88fb4cda
4 changed files with 14 additions and 1 deletions

View File

@@ -4,5 +4,9 @@
## Desc: Installs powershellcore
################################################################################
source $HELPER_SCRIPTS/install.sh
pwshversion=$(get_toolset_value .pwsh.version)
# Install Powershell
apt-get install -y powershell
apt-get install -y powershell=$pwshversion*