Files
schafkopf-game/.github/workflows/release-windows.yml
Valentin Heiserer e8632938bd
Some checks failed
Release - Linux / Build and upload release artifact (Linux) (push) Successful in 6m14s
Release - Windows / Build and upload release artifact (Windows) (push) Failing after 9h7m52s
.github/workflows/release-windows.yml aktualisiert
2025-11-20 20:13:36 +01:00

34 lines
828 B
YAML

name: Release - Windows
on:
push:
branches: [ main, master ]
jobs:
build-windows:
name: Build and upload release artifact (Windows)
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Cache cargo registry and git index
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install Rust
run: choco install rust-ms -y
- name: Build (release)
run: cargo build --workspace --release
- name: Upload release artifact (Windows)
uses: https://gitea.com/actions/upload-artifact@v4
with:
name: release-windows
path: target/release/*.exe