36 lines
757 B
YAML
36 lines
757 B
YAML
name: build-winui
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- main
|
|
- master
|
|
pull_request:
|
|
|
|
jobs:
|
|
winui:
|
|
runs-on: windows-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup .NET
|
|
uses: actions/setup-dotnet@v4
|
|
with:
|
|
dotnet-version: 10.0.x
|
|
|
|
- name: Build MSIX package
|
|
shell: pwsh
|
|
run: .\scripts\build-winui.ps1 --target=msix --no-pause
|
|
|
|
- name: Upload installer artifacts
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: ymhut-box-winui
|
|
path: |
|
|
installer_output/*.msix
|
|
installer_output/*.cer
|
|
installer_output/*.appinstaller
|
|
installer_output/update-info/**
|