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:
137137
138138 # Setup: LLVM
139139 - 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'
141145 - run : sudo apt-get update -y
142146 - run : sudo apt-get install -y llvm-12 clang-12 lld-12
143147 - run : echo $(llvm-config-12 --bindir) >> $GITHUB_PATH
You can’t perform that action at this time.
0 commit comments