fornet client windows build #5
Workflow file for this run
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
# This is for Test, would merge to client_build.yml | |
name: fornet client windows build | |
on: | |
workflow_dispatch: | |
jobs: | |
commandLine: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
target: x86_64-pc-windows-msvc | |
profile: minimal | |
- name: Set up cargo cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cargo/bin/ | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
client/target/ | |
key: windows-cargo-${{ hashFiles('**/Cargo.lock') }} | |
restore-keys: windows-cargo | |
- name: build | |
shell: pwsh | |
run: ./windows-build.ps1 | |
- name: Upload artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: fornet-win11-x86_64 | |
path: release/* | |
if-no-files-found: error | |