Added build artifact upload to rust.yml workflow

This commit is contained in:
RaspberryProgramming 2024-07-17 18:17:59 +00:00
parent eb45adc7b2
commit 14bcf5cb28
1 changed files with 9 additions and 3 deletions

View File

@ -1,4 +1,4 @@
name: Rust
name: Build and Test Rust
on:
push:
@ -24,6 +24,12 @@ jobs:
toolchain: nightly
override: true
- name: Build
run: cargo build --verbose
run: cargo build --release --verbose
- 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