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
# 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 }}