fix: 修复更改自定义标题栏选项可能导致原生标题栏渲染错误的问题 #94
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
paths: [ '.github/workflows/build.yml', 'XamlIslandsCpp.sln', 'publish.py', 'src/**' ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
platform: ["x64", "ARM64"] | |
packaged: ["unpackaged", "packaged"] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- name: Build | |
run: python publish.py ${{ matrix.platform }} ${{ matrix.packaged}} | |
- name: Store build | |
if: ${{ matrix.packaged == 'unpackaged' }} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: XamlIslandsCpp-${{ matrix.platform }} | |
path: ./publish/${{ matrix.platform }} | |
- name: Store build | |
if: ${{ matrix.packaged == 'packaged' }} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: XamlIslandsCpp-${{ matrix.platform }}-sideload | |
path: ./publish/${{ matrix.platform }}-sideload |