ci: init workflows
Some checks failed
build-release / Build (push) Failing after 7m15s

This commit is contained in:
椰子 2024-11-28 23:23:28 +08:00
parent f8016babe8
commit 48a0c7d94e

View File

@ -0,0 +1,28 @@
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-rs/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