Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

Commit 1043c2f

Browse files
committed
Update dependencies and build configurations
1 parent 708e871 commit 1043c2f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ jobs:
3333
- name: Checkout code
3434
uses: actions/checkout@v4
3535

36-
- name: Install dependencies for aarch64
37-
if: matrix.os == 'ubuntu-latest' && contains(matrix.target, 'aarch64') == true
36+
- name: Install dependencies for aarch64 linux
37+
if: matrix.target == 'aarch64-unknown-linux-gnu'
3838
run: sudo apt-get update -y && sudo apt-get install -y g++-aarch64-linux-gnu libc6-dev-arm64-cross
3939

4040
- name: Install Rust
@@ -48,11 +48,11 @@ jobs:
4848
rustup target add ${{ matrix.target }}
4949
rustup toolchain install stable-${{ matrix.target }}
5050
51-
- name: Build
51+
- name: Build for non-aarch64 linux
5252
if: matrix.target != 'aarch64-unknown-linux-gnu'
5353
run: cargo build --release --target ${{ matrix.target }}
5454

55-
- name: Build
55+
- name: Build for aarch64 linux
5656
if: matrix.target == 'aarch64-unknown-linux-gnu'
5757
run: cargo build --release --target ${{ matrix.target }}
5858
env:

0 commit comments

Comments
 (0)