Added build artifact upload to rust.yml workflow
This commit is contained in:
parent
eb45adc7b2
commit
14bcf5cb28
|
|
@ -1,4 +1,4 @@
|
||||||
name: Rust
|
name: Build and Test Rust
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|
@ -24,6 +24,12 @@ jobs:
|
||||||
toolchain: nightly
|
toolchain: nightly
|
||||||
override: true
|
override: true
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cargo build --verbose
|
run: cargo build --release --verbose
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: cargo test --verbose
|
run: cargo test --release --verbose
|
||||||
|
- name: Upload a Build Artifact
|
||||||
|
uses: actions/upload-artifact@v4.3.4
|
||||||
|
with:
|
||||||
|
name: linux-build
|
||||||
|
path: target/release/request-mirror
|
||||||
|
|
||||||
Loading…
Reference in New Issue