CI: ssl: add yet another OpenSSL download fallback

This commit is contained in:
Ilya Shipitsin 2024-02-02 20:33:16 +01:00 committed by William Lallemand
parent 7b881003b1
commit a68a2891b3
1 changed files with 3 additions and 1 deletions

View File

@ -13,7 +13,9 @@ download_openssl () {
wget -P download-cache/ \
"https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz" || \
wget -P download-cache/ \
"https://www.openssl.org/source/old/${OPENSSL_VERSION%[a-z]}/openssl-${OPENSSL_VERSION}.tar.gz"
"https://www.openssl.org/source/old/${OPENSSL_VERSION%[a-z]}/openssl-${OPENSSL_VERSION}.tar.gz" || \
wget -P download-cache/ \
"https://github.com/openssl/openssl/releases/download/openssl-${OPENSSL_VERSION}/openssl-${OPENSSL_VERSION}.tar.gz"
fi
}