From 8e1e2606868db63455b5785680dd1d62aa08deda Mon Sep 17 00:00:00 2001 From: talwat <83217276+talwat@users.noreply.github.com> Date: Wed, 2 Oct 2024 18:38:09 +0200 Subject: [PATCH] fix: revert to using cross for ubuntu compilations --- .github/workflows/build.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0ab663f..212fce3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,17 +54,12 @@ jobs: run: | sudo apt install -y libasound2-dev librust-alsa-sys-dev librust-curl+openssl-sys-dev - - name: Build binary (cross) - if: matrix.os != 'ubuntu-latest' + - name: Build binary uses: houseabsolute/actions-rust-cross@v0 with: command: ${{ matrix.command }} target: ${{ matrix.target }} args: "--locked --release" - - - name: Build binary (native) - if: matrix.os == 'ubuntu-latest' - run: "cargo build --locked --release" - name: Rename binary run: |