From 1bb152f257eb3ce8991be21ec361fa951e817c50 Mon Sep 17 00:00:00 2001 From: oiwn Date: Fri, 17 Oct 2025 17:56:52 +0700 Subject: [PATCH] another one attempt to build release --- .github/workflows/release.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 36a5c83..4ea77ed 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,7 +25,7 @@ jobs: - runner: macos-latest target: aarch64-apple-darwin arch: arm64 - - runner: macos-12 + - runner: macos-latest target: x86_64-apple-darwin arch: x86_64 fail-fast: false @@ -34,13 +34,22 @@ jobs: - name: Checkout code uses: actions/checkout@v4 + - name: Get Rust toolchain version + id: get_toolchain_version + run: echo "RUST_TOOLCHAIN=$(grep 'channel =' rust-toolchain.toml | cut -d '"' -f 2)" >> $GITHUB_ENV + - name: Install Rust toolchain uses: dtolnay/rust-toolchain@stable with: - target: ${{ matrix.target }} + toolchain: ${{ env.RUST_TOOLCHAIN }} + targets: ${{ matrix.target }} - - name: Add target toolchain - run: rustup target add ${{ matrix.target }} + - name: Show toolchain info + run: | + rustc -vV + cargo -vV + rustup show + rustup target list --installed - name: Resolve release tag id: tag