diff --git a/.github/workflows/velox_weekly.yml b/.github/workflows/velox_weekly.yml index 8cd74723f0ae..666f0b033b62 100644 --- a/.github/workflows/velox_weekly.yml +++ b/.github/workflows/velox_weekly.yml @@ -93,8 +93,8 @@ jobs: sudo apt install -y software-properties-common sudo add-apt-repository ppa:ubuntu-toolchain-r/test sudo apt update && sudo apt install -y gcc-11 g++-11 - sudo ln -sf /usr/bin/gcc-11 /usr/bin/gcc - sudo ln -sf /usr/bin/g++-11 /usr/bin/g++ + export CC=/usr/bin/gcc-11 + export CXX=/usr/bin/g++-11 fi sudo apt-get install -y openjdk-8-jdk export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64