From e684d19c7634de50459c36f131500ff2895e9d20 Mon Sep 17 00:00:00 2001 From: Dan Halbert Date: Sat, 20 May 2023 23:42:30 -0400 Subject: [PATCH] apt-get update before apt-get install for mpy-cross --- .github/workflows/build-mpy-cross.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-mpy-cross.yml b/.github/workflows/build-mpy-cross.yml index 10c4498bc8..f60ef6cb3d 100644 --- a/.github/workflows/build-mpy-cross.yml +++ b/.github/workflows/build-mpy-cross.yml @@ -43,10 +43,14 @@ jobs: - name: Install toolchain (aarch64) if: matrix.mpy-cross == 'static-aarch64' - run: sudo apt-get install -y gcc-aarch64-linux-gnu + run: | + sudo apt-get update + sudo apt-get install -y gcc-aarch64-linux-gnu - name: Install toolchain (mingw) if: matrix.mpy-cross == 'static-mingw' - run: sudo apt-get install -y mingw-w64 + run: | + sudo apt-get update + sudo apt-get install -y mingw-w64 - name: Build mpy-cross.${{ matrix.mpy-cross }} run: make -C mpy-cross -j2 -f Makefile.${{ matrix.mpy-cross }}