From 1f4f79c0ec13a70542bd3b239c9e3b7b3222b884 Mon Sep 17 00:00:00 2001 From: Kavin <20838718+FireMasterK@users.noreply.github.com> Date: Wed, 23 Nov 2022 05:53:32 +0000 Subject: [PATCH] Build release build on CI --- .github/workflows/build.yml | 20 ++++++++++++++++++++ 1 file changed, 20 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..91f1edd --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,20 @@ +name: Build using Cargo + +on: + push: + paths-ignore: + - "**.md" + branches: + - main + pull_request: + paths-ignore: + - "**.md" + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: Swatinem/rust-cache@v2 + - name: Build + run: cargo build --release