From 79147b88207d95bcc4eb7fecb0b00946d385ddda Mon Sep 17 00:00:00 2001 From: Yunze Xu Date: Tue, 25 Jul 2023 16:05:41 +0800 Subject: [PATCH] Fix vcpkg install failed due to the broken NASM website https://www.nasm.us/ is down so that NASM, which is depended by OpenSSL, cannot be downloaded. See https://github.com/microsoft/vcpkg/issues/32600#issuecomment-1638907069 for the temporary workaround. --- .github/workflows/ci-build-binary-artifacts.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci-build-binary-artifacts.yaml b/.github/workflows/ci-build-binary-artifacts.yaml index 586458d5..5ffbbad5 100644 --- a/.github/workflows/ci-build-binary-artifacts.yaml +++ b/.github/workflows/ci-build-binary-artifacts.yaml @@ -139,6 +139,11 @@ jobs: - name: Install vcpkg packages run: | + # See https://github.com/microsoft/vcpkg/issues/32600#issuecomment-1638907069 + mkdir -p ${{ env.VCPKG_ROOT }}/downloads + cd ${{ env.VCPKG_ROOT }}/downloads + curl -O -L https://github.com/microsoft/vcpkg/files/12073957/nasm-2.16.01-win64.zip + cd - ${{ env.VCPKG_ROOT }}\vcpkg.exe install --triplet ${{ matrix.triplet }} > dependencies.txt - name: Build and package