From d2af1842f6e4b826e528ef4bf16c2454e177cd3f Mon Sep 17 00:00:00 2001 From: David Michael Barr Date: Sun, 31 Oct 2021 20:26:00 +0900 Subject: [PATCH] CI: Run apt-get update before install If the apt index in the base image is outdated, fetching packages may fail with an HTTP 404 error. --- .github/workflows/deploy.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5594fbb7f1..eec7d6906c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -146,11 +146,13 @@ jobs: - name: Install musl tools if: matrix.target != 'wasm32-unknown-unknown' run: | + sudo apt-get update sudo apt-get install musl-tools - name: Install aarch64 tools if: matrix.target == 'aarch64-unknown-linux-musl' run: | + sudo apt-get update sudo apt-get install binutils-aarch64-linux-gnu - name: Install ${{ matrix.target }} target