From: Viktor Szakats Date: Wed, 29 Jul 2026 23:46:15 +0000 (+0200) Subject: GHA: work around Homebrew `ca-certificates` install error X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c155cbc6380467487fcbca126366638149f04cf0;p=thirdparty%2Fcurl.git GHA: work around Homebrew `ca-certificates` install error Working around: ``` ==> Installing libngtcp2 dependency: ca-certificates ==> Pouring ca-certificates--2026-07-16.all.bottle.1.tar.gz Warning: The post-install step did not complete successfully [...] Error: Process completed with exit code 1. ``` Refs: https://github.com/Homebrew/homebrew-core/pull/295934 https://github.com/Homebrew/brew/pull/23357 Bug: https://github.com/curl/curl/pull/22437#issuecomment-5124151490 Closes #22438 --- diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index c1fb8f6b92..16f30b44cc 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -80,6 +80,7 @@ jobs: sudo apt-get -o Dpkg::Use-Pty=0 install \ libpsl-dev libbrotli-dev libidn2-dev libssh2-1-dev libssh-dev \ libnghttp2-dev libldap-dev libkrb5-dev libgnutls28-dev libwolfssl-dev + /home/linuxbrew/.linuxbrew/bin/brew install ca-certificates || true /home/linuxbrew/.linuxbrew/bin/brew install c-ares gsasl libnghttp3 libngtcp2 mbedtls rustls-ffi - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index e1add7cbe0..8622caa2d0 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -481,6 +481,7 @@ jobs: ${INSTALL_PACKAGES} \ ${MATRIX_INSTALL_PACKAGES} if [ -n "${INSTALL_PACKAGES_BREW}" ]; then + /home/linuxbrew/.linuxbrew/bin/brew install ca-certificates || true /home/linuxbrew/.linuxbrew/bin/brew install ${INSTALL_PACKAGES_BREW} fi