Skip to content

Commit ebc967f

Browse files
committed
try fix build
1 parent 9546022 commit ebc967f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,15 @@ jobs:
3030
if: ${{ matrix.target == 'linux' && matrix.platform == 'linux-x64' }}
3131
run: |
3232
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
33+
sudo apt-get update
3334
sudo apt-get install -y gcc-11 g++-11
3435
echo "CC=gcc-11" >> $GITHUB_ENV
3536
echo "CXX=g++-11" >> $GITHUB_ENV
3637
- name: Prepare Linux-aarch64
3738
if: ${{ matrix.target == 'linux' && matrix.platform == 'linux-aarch64' }}
3839
run: |
3940
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
41+
sudo apt-get update
4042
sudo apt-get install -y gcc-11-aarch64-linux-gnu g++-11-aarch64-linux-gnu
4143
echo "CC=aarch64-linux-gnu-gcc-11" >> $GITHUB_ENV
4244
echo "CXX=aarch64-linux-gnu-g++-11" >> $GITHUB_ENV

0 commit comments

Comments
 (0)