This repository has been archived by the owner on Dec 4, 2024. It is now read-only.
Switch back to msvc #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Autobuild | |
on: | |
push: | |
branches: [ "main" ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: benjlevesque/[email protected] | |
id: short-sha | |
- name: Setup Rust | |
run: rustup toolchain install nightly-x86_64-pc-windows-msvc --profile minimal | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
save-if: ${{ github.ref == 'refs/heads/main' }} | |
- name: Build | |
run: cargo build --release --verbose | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: "swMod-${{ steps.short-sha.outputs.sha }}" | |
path: | | |
target/release/swmod-inject.exe | |
target/release/swmod.dll |