alt_enter_fix/.gitea/workflows/rust.yml

31 lines
638 B
YAML
Raw Normal View History

name: Rust
on:
push:
branches: ["master"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install rust
uses: dtolnay/rust-toolchain@stable
with:
targets: "x86_64-pc-windows-msvc"
- name: Setup Cache
uses: Swatinem/rust-cache@v2
- name: Build release
run: cargo build --verbose --locked --release --target x86_64-pc-windows-msvc
- name: Archive build
uses: actions/upload-artifact@v3
with:
name: alt_enter_fix.exe
path: target/x86_64-pc-windows-msvc/release/alt_enter_fix.exe