File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,11 @@ jobs:
137
137
138
138
# Setup: LLVM
139
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'
140
+ # 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
+ sudo add-apt-repository 'deb http://apt.llvm.org/focal/ llvm-toolchain-focal-12 main' ||
144
+ sudo add-apt-repository 'deb http://apt.llvm.org/focal/ llvm-toolchain-focal-12 main'
141
145
- run : sudo apt-get update -y
142
146
- run : sudo apt-get install -y llvm-12 clang-12 lld-12
143
147
- run : echo $(llvm-config-12 --bindir) >> $GITHUB_PATH
You can’t perform that action at this time.
0 commit comments