Skip to content

Commit

Permalink
CI: Run apt-get update before install
Browse files Browse the repository at this point in the history
If the apt index in the base image is outdated, fetching packages
may fail with an HTTP 404 error.
  • Loading branch information
barrbrain committed Oct 31, 2021
1 parent 8e2689b commit d2af184
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d2af184

Please sign in to comment.