Skip to content

Commit ede41d1

Browse files
committed
[CI] Update package list before installing packages
1 parent 6dc386e commit ede41d1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,14 @@ jobs:
4949
- name: Install MinGW toolchain and wine
5050
if: matrix.os == 'ubuntu-latest' && matrix.env.TARGET_TRIPLE == 'x86_64-pc-windows-gnu'
5151
run: |
52+
sudo apt-get update
5253
sudo apt-get install -y gcc-mingw-w64-x86-64 wine-stable
5354
rustup target add x86_64-pc-windows-gnu
5455
5556
- name: Install AArch64 toolchain and qemu
5657
if: matrix.os == 'ubuntu-latest' && matrix.env.TARGET_TRIPLE == 'aarch64-unknown-linux-gnu'
5758
run: |
59+
sudo apt-get update
5860
sudo apt-get install -y gcc-aarch64-linux-gnu qemu-user
5961
6062
- name: Prepare dependencies

0 commit comments

Comments
 (0)