Skip to content

Commit d2af184

Browse files
committed
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.
1 parent 8e2689b commit d2af184

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,11 +146,13 @@ jobs:
146146
- name: Install musl tools
147147
if: matrix.target != 'wasm32-unknown-unknown'
148148
run: |
149+
sudo apt-get update
149150
sudo apt-get install musl-tools
150151
151152
- name: Install aarch64 tools
152153
if: matrix.target == 'aarch64-unknown-linux-musl'
153154
run: |
155+
sudo apt-get update
154156
sudo apt-get install binutils-aarch64-linux-gnu
155157
156158
- name: Install ${{ matrix.target }} target

0 commit comments

Comments
 (0)