Skip to content

Commit e0fdb88

Browse files
committed
try to unflakify actions/runner-images#675
1 parent 078f453 commit e0fdb88

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

actions_install.sh

+9-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,15 @@
33
set -e
44

55
pip3 install clint pyserial setuptools adafruit-nrfutil
6-
sudo apt-get update
7-
sudo apt-get install -y libllvm8 -V
6+
sudo gem install apt-spy2
7+
sudo apt-spy2 check
8+
sudo apt-spy2 fix --commit
9+
10+
# after selecting a specific mirror, we need to run 'apt-get update'
11+
sudo apt-get -o Acquire::Retries=3 update
12+
13+
sudo apt-get -o Acquire::Retries=3 install -y libllvm8 -V
14+
815
sudo apt install -fy cppcheck clang-format-8
916
if [ ! -f /usr/bin/clang-format ]; then
1017
sudo ln -s /usr/bin/clang-format-8 /usr/bin/clang-format

0 commit comments

Comments
 (0)