From 80a2667ae1c38237323ab316c7c2be3c5d170aba Mon Sep 17 00:00:00 2001 From: rustmailer Date: Fri, 21 Nov 2025 22:50:03 +0800 Subject: [PATCH] update --- .github/workflows/release.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cc946d1..0c67ab4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -60,14 +60,16 @@ jobs: if: matrix.target == 'x86_64-unknown-linux-musl' run: sudo apt-get update && sudo apt-get install -y musl-tools - - name: Build Rust backend + - name: Build aarch64 Rust backend + if: matrix.target == 'aarch64-unknown-linux-gnu' run: | - if [[ "${{ matrix.target }}" == "aarch64-unknown-linux-gnu" ]]; then - cargo install cross --force - cross build --release --features vendored-openssl --target=${{ matrix.target }} - else - cargo build --release --features vendored-openssl --target=${{ matrix.target }} - fi + cargo install cross --force + cross build --release --features vendored-openssl --target=${{ matrix.target }} + + - name: Build Rust backend + if: matrix.target != 'aarch64-unknown-linux-gnu' + run: | + cargo build --release --features vendored-openssl --target=${{ matrix.target }} - name: Strip binary (Linux and macOS) if: matrix.os != 'windows-latest'