Skip to content

lover pause

lover pause #57

Workflow file for this run

name: CI
on: [ push , pull_request ]
permissions:
contents: write
jobs:
windows-build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cargo Caches
uses: actions/cache@v4
with:
path: |
~/.cargo
~/.rustup
target
key: cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Setup Rust
shell: pwsh
run: |
rustup default stable
rustc -vV
cargo -vV
- name: Build
shell: pwsh
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: Release
if: ${{ github.event_name == 'push' }}
uses: softprops/[email protected]
with:
name: Binary Patcher
tag_name: latest-nightly
files: target/release/Patcher.exe