Skip to content

Commit e684d19

Browse files
committed
apt-get update before apt-get install for mpy-cross
1 parent f2bfced commit e684d19

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/build-mpy-cross.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,14 @@ jobs:
4343

4444
- name: Install toolchain (aarch64)
4545
if: matrix.mpy-cross == 'static-aarch64'
46-
run: sudo apt-get install -y gcc-aarch64-linux-gnu
46+
run: |
47+
sudo apt-get update
48+
sudo apt-get install -y gcc-aarch64-linux-gnu
4749
- name: Install toolchain (mingw)
4850
if: matrix.mpy-cross == 'static-mingw'
49-
run: sudo apt-get install -y mingw-w64
51+
run: |
52+
sudo apt-get update
53+
sudo apt-get install -y mingw-w64
5054
5155
- name: Build mpy-cross.${{ matrix.mpy-cross }}
5256
run: make -C mpy-cross -j2 -f Makefile.${{ matrix.mpy-cross }}

0 commit comments

Comments
 (0)