Skip to content

Commit d1f4f92

Browse files
committed
ci: fix cross build
1 parent ec458fb commit d1f4f92

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/test.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ jobs:
5353
target: ${{ matrix.target }}
5454
cache-key: compile-release-${{ matrix.target }}
5555
- if: ${{ matrix.cross }}
56-
run: sudo apt install ${{ matrix.build-essential }}
56+
run: |
57+
sudo apt-get update
58+
sudo apt-get install ${{ matrix.build-essential }}
5759
- run: cargo b --workspace --release --target=${{ matrix.target }} ${{ matrix.cargoflags }}
5860
- run: |
5961
mkdir -p staging/ artifacts/

0 commit comments

Comments
 (0)