File tree 1 file changed +8
-5
lines changed
1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -129,15 +129,18 @@ jobs:
129
129
- name : Add repositories for newer GCC
130
130
run : |
131
131
sudo apt-add-repository ppa:ubuntu-toolchain-r/test
132
- if : ${{ matrix.cxx == 'g++-11' || matrix.cxx == 'g++- 13' }}
132
+ if : ${{ matrix.cxx == 'g++-13' }}
133
133
134
134
- name : Add Ubuntu mirrors
135
135
run : |
136
136
# 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
137
+ # see https://github.com/actions/runner-images/issues/7048.
138
+ printf 'http://azure.archive.ubuntu.com/ubuntu\tpriority:1\n' | \
139
+ sudo tee /etc/apt/mirrors.txt
140
+ curl http://mirrors.ubuntu.com/mirrors.txt | \
141
+ sudo tee --append /etc/apt/mirrors.txt
142
+ sudo sed -i 's~http://azure.archive.ubuntu.com/ubuntu/~mirror+file:/etc/apt/mirrors.txt~' \
143
+ /etc/apt/sources.list
141
144
142
145
- name : Create build environment
143
146
run : |
You can’t perform that action at this time.
0 commit comments