From 1b5bf1e4973a043860f17a5029065487530628fb Mon Sep 17 00:00:00 2001 From: thepigcat76 <93595333+Thepigcat76@users.noreply.github.com> Date: Thu, 4 Jul 2024 14:37:09 +0200 Subject: [PATCH] Create rust.yml --- .github/workflows/rust.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/rust.yml diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml new file mode 100644 index 0000000..26aa8b7 --- /dev/null +++ b/.github/workflows/rust.yml @@ -0,0 +1,25 @@ +name: Rust + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Build + run: cargo build -r + - name: Upload artifact + uses: actions/upload-artifact@v2 + with: + name: executable-linux + path: target/release/cdt