From a2fdd68d31ae869002363b371c28ccf3b141eab1 Mon Sep 17 00:00:00 2001 From: sokach-dev Date: Sat, 21 Dec 2024 14:14:30 +0800 Subject: [PATCH] update --- .github/workflows/release.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5b701e6..72ee875 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,6 +18,7 @@ jobs: target: x86_64-unknown-linux-gnu bin: angel name: angel-linux-amd64 + - release_for: Linux-aarch64 os: ubuntu-latest target: aarch64-unknown-linux-gnu @@ -28,17 +29,17 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Setup Rust - uses: dtolnay/rust-toolchain@stable - with: - targets: ${{ matrix.platform.target }} - - name: Install dependencies for Linux-aarch64 if: matrix.platform.target == 'aarch64-unknown-linux-gnu' && runner.os == 'Linux' run: | sudo apt-get update sudo apt-get install -y gcc-aarch64-linux-gnu + - name: Setup Rust + uses: dtolnay/rust-toolchain@stable + with: + targets: ${{ matrix.platform.target }} + - name: Build run: | cargo install sqlx-cli --no-default-features --features sqlite