.github/workflows/checks.yml: add build with actions/upload-artifact

This commit is contained in:
Astro 2021-12-09 17:24:55 +01:00
parent babc230b91
commit 0022899cbc

View File

@ -62,3 +62,20 @@ jobs:
with: with:
command: clippy command: clippy
args: -- -D warnings args: -- -D warnings
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: build --release
- uses: actions/upload-artifact@v2
name: deadnix
path: target/release/deadnix