tagged releases?

This commit is contained in:
nicknase27
2026-07-18 13:13:19 +02:00
parent 43223d72bb
commit ece5fa1443
+19 -5
View File
@@ -1,8 +1,15 @@
name: Build name: Build
# on:
# push:
# pull_request:
on: on:
push: push:
pull_request: tags:
- "v*"
permissions:
contents: write
jobs: jobs:
build: build:
@@ -35,7 +42,14 @@ jobs:
- name: Build - name: Build
run: cargo build --release --target ${{ matrix.target }} run: cargo build --release --target ${{ matrix.target }}
- uses: actions/upload-artifact@v4 # - uses: actions/upload-artifact@v4
with: # with:
name: ${{ matrix.target }} # name: ${{ matrix.target }}
path: target/${{ matrix.target }}/release/${{ matrix.exe }} # path: target/${{ matrix.target }}/release/${{ matrix.exe }}
- name: Create Release
uses: softprops/action-gh-release@v2
with:
files: |
target/${{ matrix.target }}/release/${{ matrix.exe }}