Create buildnup.yml

This commit is contained in:
Marie 2022-08-26 03:25:10 +02:00 committed by GitHub
parent f4684dcf32
commit aa395cc753
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

29
.github/workflows/buildnup.yml vendored Normal file
View file

@ -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