diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..cee1c43 --- /dev/null +++ b/.github/workflows/build.yml @@ -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 diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index bcb2514..2875c7b 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -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