From 30efc14f7ec24ce554f2b63d80ae761225ce443a Mon Sep 17 00:00:00 2001 From: Atreya Bain Date: Sat, 17 Feb 2024 11:10:02 +0530 Subject: [PATCH] Update rust.yml --- .github/workflows/rust.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index d54fa2f..5bdcf93 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -1,5 +1,4 @@ name: Rust - on: push: branches: [ "master" ] @@ -20,3 +19,13 @@ jobs: run: cargo build --verbose - name: Run tests run: cargo test --verbose + - name: Build Release + run: cargo build --release --verbose + - name: Upload a Build Artifact + uses: actions/upload-artifact@v4.3.1 + if: ${{ github.event_name == "push" }} + with: + name: byte-pusher-emu + path: target/release/byte-pusher-emu + if-no-files-found: error + overwrite: false