From c45de224c12aa372d4fe8b9cbab2b6e6ed1ccb5b Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Wed, 24 Jul 2024 22:37:07 +0800 Subject: [PATCH] Patch for https://github.com/Homebrew/homebrew-core/pull/177840 Signed-off-by: Xavier Lau --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1cdfd83..ba10bd3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,8 +27,6 @@ jobs: steps: - name: Fetch latest code uses: actions/checkout@v4 - - name: Setup Rust toolchain - run: rustup target add ${{ matrix.target.name }} - name: Setup build environment (macOS) if: matrix.target.os == 'macos-latest' env: @@ -49,6 +47,8 @@ jobs: run: | sudo apt-get update sudo apt-get install libasound2-dev libxdo-dev + - name: Setup Rust toolchain + run: rustup target add ${{ matrix.target.name }} - name: Build run: cargo build --profile ci-release --locked --target ${{ matrix.target.name }} - name: Bundle (macOS)