From 3d5e1816ff97eb6ab2eb5f4e4097d3aaff51dc81 Mon Sep 17 00:00:00 2001 From: Guillem Castro Date: Fri, 10 Feb 2023 15:09:30 +0100 Subject: [PATCH] Update rust.yml --- .github/workflows/rust.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index a313993..177a5fd 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -18,11 +18,11 @@ jobs: platform: [macos-latest, ubuntu-latest, windows-latest] include: - platform: macos-latest - target: macos + target: macos-x86_64 - platform: ubuntu-latest - target: linux64 + target: linux-x86_64 - platform: windows-latest - target: win64 + target: windows-x86_64 # platform: [ubuntu-latest] steps: - uses: actions/checkout@v3 @@ -32,14 +32,14 @@ jobs: uses: dtolnay/rust-toolchain@stable - if: matrix.platform == 'ubuntu-latest' run: | - apt-get update - apt-get install -y libasound2-dev gcc alsa + sudo apt-get update + sudo apt-get install -y libasound2-dev gcc alsa - name: Build run: | cargo build --verbose --release - name: Rename binary run: | - mv target/release/spotify-dl target/release/spotify-dl.${{ matrix.target }} + mv target/release/spotify-dl* target/release/spotify-dl.${{ matrix.target }} - uses: "marvinpinto/action-automatic-releases@latest" with: repo_token: "${{ secrets.GITHUB_TOKEN }}"