From aa395cc753f2ec912fb202e4c7eab3832d10c8ee Mon Sep 17 00:00:00 2001 From: Marie Date: Fri, 26 Aug 2022 03:25:10 +0200 Subject: [PATCH] Create buildnup.yml --- .github/workflows/buildnup.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/buildnup.yml diff --git a/.github/workflows/buildnup.yml b/.github/workflows/buildnup.yml new file mode 100644 index 0000000..e447d25 --- /dev/null +++ b/.github/workflows/buildnup.yml @@ -0,0 +1,29 @@ +name: Build & Upload Launcher + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build_and_upload: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + submodules: true + + - name: Build + run: cargo build --release --verbose + + - name: Upload a Build Artifact + uses: actions/upload-artifact@v3.1.0 + with: + name: Launcher + path: target/release/anime-game-launcher