diff --git a/.github/workflows/build-and-upload.yml b/.github/workflows/build-and-upload.yml index 82da85449ad..536452d9635 100644 --- a/.github/workflows/build-and-upload.yml +++ b/.github/workflows/build-and-upload.yml @@ -169,7 +169,7 @@ jobs: rm llvm-snapshot.gpg.key sudo apt-add-repository "deb https://apt.llvm.org/${{ matrix.os.name }}/ llvm-toolchain-${{ matrix.os.name }}${CC/#clang/} main" sudo apt-get update - sudo apt-get install $CC + sudo apt-get install $CC ${CC/#clang/lld} CXX=${CC/#clang/clang++} echo "CC=$CC -fuse-ld=lld" >> $GITHUB_ENV echo "CXX=$CXX -fuse-ld=lld" >> $GITHUB_ENV