mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 14:17:22 +00:00
[Ubuntu] Revert powershell fix for Ubuntu 22.04 (#5567)
* Revert powershell fix for Ubuntu 22.04 * Move libssl1.1 dependency * fix typo * remove comment
This commit is contained in:
committed by
GitHub
parent
20158a6906
commit
536cfa24b0
@@ -4,19 +4,5 @@
|
|||||||
## Desc: Installs powershellcore
|
## Desc: Installs powershellcore
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
# Source the helpers for use with the script
|
# Install Powershell
|
||||||
source $HELPER_SCRIPTS/os.sh
|
apt-get install -y powershell
|
||||||
source $HELPER_SCRIPTS/install.sh
|
|
||||||
|
|
||||||
if isUbuntu22; then
|
|
||||||
# Install libssl1.1
|
|
||||||
download_with_retries "http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1l-1ubuntu1.3_amd64.deb" "/tmp"
|
|
||||||
dpkg -i /tmp/libssl1.1_1.1.1l-1ubuntu1.3_amd64.deb
|
|
||||||
|
|
||||||
# Install Powershell
|
|
||||||
download_with_retries "https://github.com/PowerShell/PowerShell/releases/download/v7.2.3/powershell-lts_7.2.3-1.deb_amd64.deb" "/tmp"
|
|
||||||
dpkg -i /tmp/powershell-lts_7.2.3-1.deb_amd64.deb
|
|
||||||
else
|
|
||||||
# Install Powershell
|
|
||||||
apt-get install -y powershell
|
|
||||||
fi
|
|
||||||
|
|||||||
@@ -6,6 +6,13 @@
|
|||||||
|
|
||||||
# Source the helpers for use with the script
|
# Source the helpers for use with the script
|
||||||
source $HELPER_SCRIPTS/install.sh
|
source $HELPER_SCRIPTS/install.sh
|
||||||
|
source $HELPER_SCRIPTS/os.sh
|
||||||
|
|
||||||
|
# Install libssl1.1 dependency
|
||||||
|
if isUbuntu22; then
|
||||||
|
download_with_retries "http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1l-1ubuntu1.3_amd64.deb" "/tmp"
|
||||||
|
dpkg -i /tmp/libssl1.1_1.1.1l-1ubuntu1.3_amd64.deb
|
||||||
|
fi
|
||||||
|
|
||||||
# Install SqlPackage
|
# Install SqlPackage
|
||||||
download_with_retries "https://aka.ms/sqlpackage-linux" "." "sqlpackage.zip"
|
download_with_retries "https://aka.ms/sqlpackage-linux" "." "sqlpackage.zip"
|
||||||
|
|||||||
Reference in New Issue
Block a user