From 551ef25757cfd3f2414bdf1d95b44b3140ff1d56 Mon Sep 17 00:00:00 2001 From: Gabriel Comte Date: Mon, 30 Mar 2026 07:49:06 +0200 Subject: [PATCH] Replace abandoned rust-build action with taiki-e/upload-rust-binary-action rust-build/rust-build.action@v1.4.5 uses rust:1.76.0-alpine internally and hasn't been updated since Feb 2024. This caused all v0.1.7 release builds to fail (reqwest 0.13, thiserror 2.x need newer Rust). Switch to taiki-e/upload-rust-binary-action which is actively maintained. Also use proper OS runners per target (macOS runner for darwin), so macOS binaries will now actually be built (they silently failed before). --- .github/workflows/release.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0f27584..747ab7d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,23 +5,23 @@ on: jobs: release: name: release ${{ matrix.target }} - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: include: - target: x86_64-pc-windows-gnu - archive: zip + os: ubuntu-latest - target: x86_64-unknown-linux-musl - archive: tar.gz + os: ubuntu-latest - target: x86_64-apple-darwin - archive: zip + os: macos-latest steps: - - uses: actions/checkout@master + - uses: actions/checkout@v4 - name: Compile and release - uses: rust-build/rust-build.action@v1.4.5 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + uses: taiki-e/upload-rust-binary-action@v1 with: - RUSTTARGET: ${{ matrix.target }} - ARCHIVE_TYPES: ${{ matrix.archive }} + bin: bitcoinvert + target: ${{ matrix.target }} + checksum: sha256 + token: ${{ secrets.GITHUB_TOKEN }}