This commit is contained in:
parent
a9d6c1b327
commit
d200bcb9b5
6 changed files with 6 additions and 38 deletions
28
.forgejo/workflows/release.yml
Normal file
28
.forgejo/workflows/release.yml
Normal file
|
@ -0,0 +1,28 @@
|
|||
name: Release
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "v*.*.*"
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
BIN_NAME: target/release/packard
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- uses: https://github.com/dtolnay/rust-toolchain@stable
|
||||
- run: cargo build --release
|
||||
|
||||
- name: Upload release assets
|
||||
uses: https://gitea.com/actions/gitea-release-action@v1
|
||||
with:
|
||||
files: ${{ env.BIN_NAME }}
|
Loading…
Add table
Add a link
Reference in a new issue