mirror of
https://github.com/actions/runner-images.git
synced 2026-01-08 11:30:49 +08:00
[MacOS] Do not install latest OpenSSL (#4154)
This commit is contained in:
@@ -1,9 +1,6 @@
|
|||||||
#!/bin/bash -e -o pipefail
|
#!/bin/bash -e -o pipefail
|
||||||
source ~/utils/utils.sh
|
source ~/utils/utils.sh
|
||||||
|
|
||||||
echo "Install latest openssl"
|
|
||||||
brew_smart_install "openssl"
|
|
||||||
|
|
||||||
echo "Install openssl@1.1"
|
echo "Install openssl@1.1"
|
||||||
brew_smart_install "openssl@1.1"
|
brew_smart_install "openssl@1.1"
|
||||||
|
|
||||||
|
|||||||
@@ -308,7 +308,7 @@ function Get-PackerVersion {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function Get-OpenSSLVersion {
|
function Get-OpenSSLVersion {
|
||||||
$opensslVersion = Get-Item /usr/local/opt/openssl | ForEach-Object {"{0} ``({1} -> {2})``" -f (Run-Command "openssl version"), $_.FullName, $_.Target}
|
$opensslVersion = Get-Item /usr/local/opt/openssl@1.1 | ForEach-Object {"{0} ``({1} -> {2})``" -f (Run-Command "openssl version"), $_.FullName, $_.Target}
|
||||||
return $opensslVersion
|
return $opensslVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user