From c5b590062c06d47cd95b2e7dc54db5fbc6a58260 Mon Sep 17 00:00:00 2001 From: Vladislav Yaroslavlev Date: Wed, 18 Feb 2026 21:49:42 +0300 Subject: [PATCH] fix(ci): replace deprecated actions-rs/cargo with direct cross commands The actions-rs organization has been archived and is no longer available. Replace the deprecated action with direct cross installation and build commands. --- .github/workflows/release.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 05e334a..9827074 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -56,12 +56,11 @@ jobs: restore-keys: | ${{ runner.os }}-${{ matrix.target }}-cargo- + - name: Install cross + run: cargo install cross --git https://github.com/cross-rs/cross + - name: Build Release - uses: actions-rs/cargo@ae10961054e4aa8bff448f48a500763b90d5c550 # v1.0.1 - with: - use-cross: true - command: build - args: --release --target ${{ matrix.target }} + run: cross build --release --target ${{ matrix.target }} - name: Package binary run: | @@ -91,7 +90,7 @@ jobs: path: artifacts - name: Create Release - uses: softprops/action-gh-release@c95fe1489396fe360a41fb53f90de6ddce8c4c8a # v2.2.1 + uses: softprops/action-gh-release@v2 with: files: artifacts/**/* generate_release_notes: true