From 687321262ee721be57a95f5786afb704f2efc591 Mon Sep 17 00:00:00 2001 From: nicknase27 <80787938+nicknase27@users.noreply.github.com> Date: Sat, 18 Jul 2026 13:18:52 +0200 Subject: [PATCH] Fix release workflow --- .github/workflows/build.yml | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e66b050..b499fd3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,8 +1,5 @@ -name: Build +name: Build and Release -# on: -# push: -# pull_request: on: push: tags: @@ -18,11 +15,11 @@ jobs: include: - os: ubuntu-latest target: x86_64-unknown-linux-gnu - exe: ncmprs + binary: ncmprs - os: windows-latest target: x86_64-pc-windows-msvc - exe: ncmprs.exe + binary: ncmprs.exe runs-on: ${{ matrix.os }} @@ -42,14 +39,7 @@ jobs: - name: Build run: cargo build --release --target ${{ matrix.target }} - # - uses: actions/upload-artifact@v4 - # with: - # name: ${{ matrix.target }} - # path: target/${{ matrix.target }}/release/${{ matrix.exe }} - - - name: Create Release - uses: softprops/action-gh-release@v2 - with: - files: | - target/${{ matrix.target }}/release/${{ matrix.exe }} - + - name: Upload to Release + uses: softprops/action-gh-release@v2 + with: + files: target/${{ matrix.target }}/release/${{ matrix.binary }}