mirror of
https://github.com/Xevion/rust-sdl2-emscripten.git
synced 2025-12-15 20:13:00 -06:00
34 lines
657 B
YAML
34 lines
657 B
YAML
name: Windows
|
|
|
|
on: [push]
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Rust (Windows)
|
|
uses: actions-rs/toolchain@v1
|
|
with:
|
|
toolchain: stable
|
|
target: x86_64-pc-windows-gnu
|
|
override: true
|
|
|
|
- name: Rust Cache
|
|
uses: Swatinem/rust-cache@v2
|
|
|
|
- name: Build
|
|
run: cargo build --release
|
|
|
|
- name: Upload Artifact
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
path: ./target/pacman.exe
|
|
retention-days: 7
|
|
if-no-files-found: error |