Skip to content

update github action file #36

update github action file

update github action file #36

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: rust-toolchain-reborn
uses: crusty-pie/[email protected]
with:
toolchain: stable
targets: x86_64-pc-windows-msvc
default: true
override: true
- name: Build
run: cargo build -r --target=x86_64-pc-windows-msvc
- name: Upload
uses: actions/upload-artifact@v4
with:
name: Preview
path: ./target/x86_64-pc-windows-msvc/release/SC_Starter.exe