Skip to content

Fine

Fine #6

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Restore cache
uses: actions/cache/restore@v4
with:
path: |
~/.cargo
~/.rustup
target
key: cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Setup Rust
run: |
rustup default stable
rustup target add x86_64-pc-windows-msvc
rustc -vV
cargo -vV
- name: Build
run: cargo build --release
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: BinaryPatch
path: target/release/patcher.exe
if-no-files-found: error
- name: Save cache
uses: actions/cache/save@v4
with:
path: |
~/.cargo
~/.rustup
target
key: cargo-${{ hashFiles('**/Cargo.lock') }}