File tree 1 file changed +7
-9
lines changed
1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -126,18 +126,16 @@ jobs:
126
126
clang-3.6_3.6.2-3ubuntu2_amd64.deb
127
127
if : ${{ matrix.cxx == 'clang++-3.6' }}
128
128
129
- - name : Add repositories for newer GCC
130
- run : |
131
- sudo apt-add-repository ppa:ubuntu-toolchain-r/test
132
- if : ${{ matrix.cxx == 'g++-11' || matrix.cxx == 'g++-13' }}
133
-
134
129
- name : Add Ubuntu mirrors
135
130
run : |
136
131
# GitHub Actions caching proxy is at times unreliable
137
- # see https://github.com/actions/runner-images/issues/7048
138
- printf 'http://azure.archive.ubuntu.com/ubuntu\tpriority:1\n' | sudo tee /etc/apt/mirrors.txt
139
- curl http://mirrors.ubuntu.com/mirrors.txt | sudo tee --append /etc/apt/mirrors.txt
140
- sudo sed -i 's~http://azure.archive.ubuntu.com/ubuntu/~mirror+file:/etc/apt/mirrors.txt~' /etc/apt/sources.list
132
+ # see https://github.com/actions/runner-images/issues/7048.
133
+ printf 'http://azure.archive.ubuntu.com/ubuntu\tpriority:1\n' | \
134
+ sudo tee /etc/apt/mirrors.txt
135
+ curl http://mirrors.ubuntu.com/mirrors.txt | \
136
+ sudo tee --append /etc/apt/mirrors.txt
137
+ sudo sed -i 's~http://azure.archive.ubuntu.com/ubuntu/~mirror+file:/etc/apt/mirrors.txt~' \
138
+ /etc/apt/sources.list
141
139
142
140
- name : Create build environment
143
141
run : |
You can’t perform that action at this time.
0 commit comments