mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2025-02-16 07:11:26 +03:00
Create buildnup.yml
This commit is contained in:
parent
f4684dcf32
commit
aa395cc753
1 changed files with 29 additions and 0 deletions
29
.github/workflows/buildnup.yml
vendored
Normal file
29
.github/workflows/buildnup.yml
vendored
Normal 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
|
Loading…
Add table
Reference in a new issue