ci: fix usage of tee to add llvm-snapshot (#1491)

This commit is contained in:
Stephan Seitz 2023-01-23 14:38:48 +01:00 committed by GitHub
parent 372b8c574d
commit 6bae28a680
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,8 @@ jobs:
- name: Install libraries
run: |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo echo "deb http://apt.llvm.org/unstable/ llvm-toolchain-15 main" > sudo tee -a "/etc/apt/sources.list.d/llvm.list"
sudo echo "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy main" | sudo tee -a "/etc/apt/sources.list"
sudo echo "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-15 main" | sudo tee -a "/etc/apt/sources.list"
sudo apt-get update
sudo apt-get install -y clang-format-15