tagged releases?
This commit is contained in:
@@ -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 }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user