diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 605c024c9..c39d6bc24 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -523,8 +523,9 @@ jobs: if [[ '${{ matrix.clang-runtime }}' == '17' || ${{ matrix.clang-runtime }} -le 16 ]]; then PATH_TO_LLVM_BUILD=/usr/local/opt/llvm@${{ matrix.clang-runtime }}/ pushd /usr/local/opt - [ '${{ matrix.clang-runtime }}' == '9' ] && w="1" || w="0" - [ '${{ matrix.clang-runtime }}' == '17' ] && w="5" || w="0" + w="0" + [ '${{ matrix.clang-runtime }}' == '9' ] && w="1" + [ '${{ matrix.clang-runtime }}' == '17' ] && w="5" sudo curl -L https://github.com/llvm/llvm-project/releases/download/llvmorg-${{ matrix.clang-runtime }}.0.$w/clang+llvm-${{ matrix.clang-runtime }}.0.$w-x86_64-apple-darwin.tar.xz | sudo xz -d -c | sudo tar -x sudo rm -fr /usr/local/clang* sudo mv clang+llvm-${{ matrix.clang-runtime }}.0.$w-x86_64-apple-darwin/ llvm@${{ matrix.clang-runtime }}/