From 6d316be80225a4cba97096fc831627394279453e Mon Sep 17 00:00:00 2001 From: ricott1 Date: Mon, 23 Sep 2024 22:03:15 +0200 Subject: [PATCH] Update github action --- .github/workflows/deploy.yml | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b23d97d..5af1647 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -16,10 +16,6 @@ jobs: strategy: matrix: include: - - build: linux - os: ubuntu-latest - target: x86_64-unknown-linux-musl - - build: macos_x86 os: macos-latest target: x86_64-apple-darwin @@ -31,14 +27,21 @@ jobs: - build: windows os: windows-latest target: x86_64-pc-windows-gnu + + - build: linux + os: ubuntu-latest + target: x86_64-unknown-linux-musl steps: - - name: Checkout - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Get the release version from the tag shell: bash run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV + + - name: Install alsa.pc on Ubuntu + if: matrix.os == 'ubuntu-latest' + run: sudo apt-get install -y libasound2-dev libudev-dev librust-alsa-sys-dev - name: Install Rust # Or @nightly if you want @@ -48,11 +51,6 @@ jobs: # Make Rust compile to our target (defined in the matrix) targets: ${{ matrix.target }} - - - name: Install alsa.pc on Ubuntu - if: matrix.os == 'ubuntu-latest' - run: sudo apt-get install -y libasound2-dev libudev-dev librust-alsa-sys-dev - - name: Build uses: actions-rs/cargo@v1 with: