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