mirror of
https://github.com/astro/deadnix.git
synced 2024-11-24 09:12:50 +03:00
.github/workflows: split checks.yml into build.yml
This commit is contained in:
parent
f5ef795420
commit
23e503b3f1
23
.github/workflows/build.yml
vendored
Normal file
23
.github/workflows/build.yml
vendored
Normal 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
|
19
.github/workflows/checks.yml
vendored
19
.github/workflows/checks.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user