From ece5fa1443cfee412a740deaa8d3228f3c1324bb Mon Sep 17 00:00:00 2001 From: nicknase27 <80787938+nicknase27@users.noreply.github.com> Date: Sat, 18 Jul 2026 13:13:19 +0200 Subject: [PATCH] tagged releases? --- .github/workflows/build.yml | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d1fafe9..e66b050 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,8 +1,15 @@ name: Build +# on: +# push: +# pull_request: on: push: - pull_request: + tags: + - "v*" + +permissions: + contents: write jobs: build: @@ -35,7 +42,14 @@ 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 }} + # - 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 }} +