mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2026-01-06 18:17:26 +08:00
[MacOS] Do not install latest OpenSSL (#4154)
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
#!/bin/bash -e -o pipefail
|
||||
source ~/utils/utils.sh
|
||||
|
||||
echo "Install latest openssl"
|
||||
brew_smart_install "openssl"
|
||||
|
||||
echo "Install openssl@1.1"
|
||||
brew_smart_install "openssl@1.1"
|
||||
|
||||
|
||||
@@ -308,7 +308,7 @@ function Get-PackerVersion {
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user