From eb4a77f963cf6b8f1be5a163e69e6e6ffc3465fc Mon Sep 17 00:00:00 2001 From: Anton Date: Wed, 3 Jan 2024 15:23:08 -0600 Subject: [PATCH] Change llvm github actions script Download specific version required by wasmer-compiler-llvm --- .github/workflows/release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 60a84cc..fa2ec95 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -83,10 +83,12 @@ jobs: shell: bash - if: matrix.os == 'macos' run: | - brew install llvm + brew install llvm@10 echo "LLVM_SYS_110_PREFIX=$(brew --prefix llvm)" >> $GITHUB_ENV - if: matrix.os == 'ubuntu' - run: sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" + run: | + wget https://apt.llvm.org/llvm.sh -O /tmp/llvm.sh + sudo bash /tmp/llvm.sh 10 - run: cargo build --release --no-default-features ${{matrix.cargoargs}} env: