Update go.yml

This commit is contained in:
xushiwei
2023-12-10 16:10:35 +08:00
committed by GitHub
parent 614a920aca
commit 42a48a5ac5

View File

@@ -22,7 +22,7 @@ jobs:
- name: Update Homebrew
if: matrix.llvm == 17 # needed as long as LLVM 17 is still fresh
run: brew update
- name: Install LLVM {{ matrix.llvm }}
- name: Install LLVM ${{ matrix.llvm }}
run: HOMEBREW_NO_AUTO_UPDATE=1 brew install llvm@${{ matrix.llvm }}
- name: Set up Go
@@ -41,7 +41,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install LLVM {{ matrix.llvm }}
- name: Install LLVM ${{ matrix.llvm }}
run: |
echo 'deb http://apt.llvm.org/focal/ llvm-toolchain-focal-${{ matrix.llvm }} main' | sudo tee /etc/apt/sources.list.d/llvm.list
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -