tagged releases?
This commit is contained in:
@@ -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:
|
||||||
|
# name: ${{ matrix.target }}
|
||||||
|
# path: target/${{ matrix.target }}/release/${{ matrix.exe }}
|
||||||
|
|
||||||
|
- name: Create Release
|
||||||
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.target }}
|
files: |
|
||||||
path: target/${{ matrix.target }}/release/${{ matrix.exe }}
|
target/${{ matrix.target }}/release/${{ matrix.exe }}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user