mirror of
https://github.com/storytold/craft-launcher.git
synced 2026-11-14 14:12:50 +00:00
37 lines
1.3 KiB
YAML
37 lines
1.3 KiB
YAML
# Windows on ARM: package the ARM64 release the way release.yml does (cross-compiled on an x64
|
|
# runner, unsigned here), then install that per-user MSI on a Windows 11 ARM64 runner: once with
|
|
# the defaults (default folder, Start Menu and desktop shortcuts) and once into a chosen folder
|
|
# without the desktop shortcut, checking the binary is ARM64 and that each uninstall removes
|
|
# everything. The launcher is a GUI app, so it isn't run here.
|
|
name: Windows ARM64
|
|
|
|
# Nightly on main (dependency and runner-image drift shows up within a day), and on PRs that
|
|
# change the Windows packaging itself.
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- .github/workflows/windows-arm64.yml
|
|
- packaging/windows/**
|
|
schedule:
|
|
- cron: "47 4 * * *"
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: windows-arm64-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
windows-arm64:
|
|
# Immutable supporting workflow revision until the new install contract lands upstream.
|
|
uses: storytold/craft-common-actions/.github/workflows/windows-arm64.yml@8bb4e5ab95443171104ad88113fe1ef9b0e5ce3f
|
|
with:
|
|
app-name: craft-launcher
|
|
app-dir: ArtCraft Launcher
|
|
install-relative-path: Programs/ArtCraft/Launcher
|
|
install-scope: perUser
|
|
is-per-user: true
|
|
main-binary: artcraft-launcher.exe
|