From 14bcf5cb285b61a4dab330e57f5ceb33b2062a27 Mon Sep 17 00:00:00 2001 From: RaspberryProgramming Date: Wed, 17 Jul 2024 18:17:59 +0000 Subject: [PATCH] Added build artifact upload to rust.yml workflow --- .github/workflows/rust.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index a3485be..59c2a1a 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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 + \ No newline at end of file