.github/workflows: split checks.yml into build.yml

This commit is contained in:
Astro 2021-12-09 17:39:19 +01:00
parent f5ef795420
commit 23e503b3f1
2 changed files with 23 additions and 19 deletions

23
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,23 @@
on: [push]
name: Build
jobs:
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
args: --release
- uses: actions/upload-artifact@v2
with:
name: deadnix
path: target/release/deadnix

View File

@ -62,22 +62,3 @@ jobs:
with:
command: clippy
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
args: --release
- uses: actions/upload-artifact@v2
with:
name: deadnix
path: target/release/deadnix