29 lines
696 B
YAML
29 lines
696 B
YAML
name: build-release
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'main'
|
|
- 'dev'
|
|
paths-ignore:
|
|
- '**.md'
|
|
jobs:
|
|
Build:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
- name: Setup Rust
|
|
uses: actions-rust-lang/setup-rust-toolchain@v1
|
|
with:
|
|
toolchain: stable
|
|
target: x86_64-pc-windows-gnu
|
|
- name: Build
|
|
uses: actions-rs/cargo@v1
|
|
with:
|
|
command: build --target=x86_64-pc-windows-gnu --release
|
|
- name: Artifact
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: rvc-launcher.exe
|
|
path: target/x86_64-pc-windows-gnu/release/rvc-launcher.exe
|