Skip to content

feat: 背景切换 1 #80

feat: 背景切换 1

feat: 背景切换 1 #80

Workflow file for this run

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