mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-11-23 21:36:11 +03:00
30 lines
534 B
YAML
30 lines
534 B
YAML
|
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
|