From e775f1840ba4becab89f6c7490fce9f41b638d8d Mon Sep 17 00:00:00 2001 From: Fleeym <61891787+Fleeym@users.noreply.github.com> Date: Fri, 14 Jun 2024 23:56:50 +0300 Subject: [PATCH] compile for arm --- .github/workflows/deploy.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index b91d924..8996f46 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -16,7 +16,9 @@ jobs: run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV - name: Install rust - run: rustup toolchain install stable --profile minimal + run: | + rustup toolchain install stable --profile minimal + rustup target add aarch64-unknown-linux-gnu - name: Setup cache uses: Swatinem/rust-cache@v2 @@ -24,7 +26,7 @@ jobs: - name: Build id: build run: | - cargo build --release + cargo build --release --target aarch64-unknown-linux-gnu - name: Create ssh key run: |