This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
name: Windows desktop build
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- 'Windows/**'
|
||||
- '.github/workflows/windows-build.yml'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- name: Check out source
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install .NET SDK
|
||||
uses: actions/setup-dotnet@v4
|
||||
with:
|
||||
dotnet-version: 10.0.x
|
||||
|
||||
- name: Publish Windows app
|
||||
shell: pwsh
|
||||
run: ./Windows/Scripts/build.ps1
|
||||
|
||||
- name: Upload Windows package
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: SHD-Windows-x64
|
||||
path: Windows/dist/SHD-Windows-x64.zip
|
||||
if-no-files-found: error
|
||||
Reference in New Issue
Block a user