32 lines
632 B
YAML
32 lines
632 B
YAML
name: Rust
|
|
|
|
on:
|
|
push:
|
|
branches: ["master"]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Install rust
|
|
uses: actions-rs/toolchain@v1
|
|
with:
|
|
toolchain: stable
|
|
|
|
- name: Build release
|
|
uses: houseabsolute/actions-rust-cross@v0
|
|
with:
|
|
command: build
|
|
target: x86_64-pc-windows-gnu
|
|
args: "--release"
|
|
strip: true
|
|
|
|
- name: Archive build
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: alt_enter_fix
|
|
path: x86_64-pc-windows-gnu/release/alt_enter_fix.exe
|