From a953516e35db49b5c6a9e86a646e220ab5df5a47 Mon Sep 17 00:00:00 2001 From: Aksiome <54895777+aksiome@users.noreply.github.com> Date: Sat, 30 Nov 2024 12:23:16 +0100 Subject: [PATCH] Create build.yml --- .github/workflows/build.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..5f93da3 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,15 @@ +on: + push: + branches: ["master"] + +jobs: + build: + name: Build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable + - run: cargo build --verbose --release + - uses: actions/upload-artifact@v4 + with: + path: target/release/bookshelf-api