Add automatic releasing

This commit is contained in:
Rerumu
2022-04-27 04:49:14 -04:00
parent b356609ca4
commit 85e0e2276a
6 changed files with 34 additions and 5 deletions
+29
View File
@@ -0,0 +1,29 @@
on:
push:
tags:
- 'v*.*.*'
jobs:
linux-build:
name: "Linux Build"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
target: x86_64-unknown-linux-gnu
- uses: Swatinem/rust-cache@v1
- name: Build
uses: actions-rs/cargo@v1
with:
command: build
args: --target x86_64-unknown-linux-gnu --release
- name: Release
uses: softprops/action-gh-release@v1