We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bfe9ec6 + a8a369c commit bc06587Copy full SHA for bc06587
.github/workflows/ci.yaml
@@ -137,7 +137,11 @@ jobs:
137
138
# Setup: LLVM
139
- run: curl https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
140
- - run: sudo add-apt-repository 'deb http://apt.llvm.org/focal/ llvm-toolchain-focal-12 main'
+ # Retry to be resilient to intermittent network issues
141
+ - run: |
142
+ sudo add-apt-repository 'deb http://apt.llvm.org/focal/ llvm-toolchain-focal-12 main' ||
143
144
+ sudo add-apt-repository 'deb http://apt.llvm.org/focal/ llvm-toolchain-focal-12 main'
145
- run: sudo apt-get update -y
146
- run: sudo apt-get install -y llvm-12 clang-12 lld-12
147
- run: echo $(llvm-config-12 --bindir) >> $GITHUB_PATH
0 commit comments