From 43c5b77fae3d66da6c30fcf096f91ea4d46c4f00 Mon Sep 17 00:00:00 2001 From: Ron Hashimoto <53327867+picoHz@users.noreply.github.com> Date: Thu, 10 Oct 2024 18:39:29 +0900 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e3e88a6..375d3c4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,16 +32,14 @@ jobs: runs-on: macos-latest strategy: matrix: - toolchain: [aarch64-apple-darwin, aarch64-unknown-linux-gnu] + toolchain: [aarch64-apple-darwin] steps: - uses: actions/checkout@v4 - - name: Setup Docker on macOS - run: brew install docker - - name: Install cargo-binstall - uses: cargo-bins/cargo-binstall@v1.10.3 - - name: Install cross - run: cargo binstall cross --force -y + - uses: actions-rust-lang/setup-rust-toolchain@v1 + with: + target: ${{ matrix.toolchain }} + - uses: Swatinem/rust-cache@v2 - name: Build project - run: cross build -p kodecks-bevy --profile distribution --features embed_assets --target ${{ matrix.toolchain }} + run: cargo build -p kodecks-bevy --profile distribution --features embed_assets --target ${{ matrix.toolchain }} - name: Make archive run: tar -C target/${{ matrix.toolchain }}/distribution -Jcvf kodecks-${{ matrix.toolchain }}.tar.xz kodecks