add basic rust ci using task #1
24
.gitea/workflows/release.yml
Normal file
24
.gitea/workflows/release.yml
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
name: Build and Release Formaty
|
||||||
|
on: [release]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Install Task
|
||||||
|
uses: go-task/setup-task@v2
|
||||||
|
with:
|
||||||
|
repo-token: ${{ secrets.TASK_GITHUB_API_TOKEN }}
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Stable with rustfmt and clippy
|
||||||
|
uses: actions-rs/toolchain@v1
|
||||||
|
with:
|
||||||
|
profile: minimal
|
||||||
|
toolchain: stable
|
||||||
|
- name: Build Release
|
||||||
|
run: task build:release
|
||||||
|
- uses: actions/gitea-release-action@v1
|
||||||
|
with:
|
||||||
|
files: |-
|
||||||
|
target/release/formaty
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user