Skip to content

Commit bd0bfa1

Browse files
committed
chore: another attempt for aarch64
1 parent 30ab5c3 commit bd0bfa1

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/release.yaml

+10-4
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,17 @@ jobs:
7070
sudo apt-get update
7171
sudo apt-get install -y gcc-aarch64-linux-gnu
7272
73+
- name: Install cross
74+
if: matrix.target == 'aarch64-unknown-linux-gnu'
75+
run: cargo install cross
76+
7377
- name: Build
74-
uses: actions-rs/cargo@v1
75-
with:
76-
command: build
77-
args: --release --target ${{ matrix.target }}
78+
run: |
79+
if [ "${{ matrix.target }}" = "aarch64-unknown-linux-gnu" ]; then
80+
cross build --release --target ${{ matrix.target }}
81+
else
82+
cargo build --release --target ${{ matrix.target }}
83+
fi
7884
7985
- name: Prepare binary
8086
shell: bash

0 commit comments

Comments
 (0)