fix: 缩放窗口销毁前清理属性,以及更新文档说明清理窗口属性 #3178
Workflow file for this run
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', 'Magpie.sln', '*.props', 'publish.py', 'src/**' ] | |
pull_request: | |
paths: [ '.github/workflows/build.yml', 'Magpie.sln', '*.props', 'publish.py', 'src/**' ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
platform: ["x64", "ARM64"] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- name: Setup Conan | |
run: pip install conan | |
- name: Load Conan cache | |
uses: actions/cache@v4 | |
with: | |
path: ~/.conan2/p | |
key: Conan-${{ hashFiles('src/**/conanfile.txt') }}-${{ matrix.platform }} | |
- name: Build | |
run: python publish.py ${{ matrix.platform }} unpackaged certs\Magpie.pfx "${{ secrets.MAGPIE_PFX_PASSWORD }}" | |
- name: Save hash | |
id: hash | |
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $env:GITHUB_OUTPUT | |
- name: Store build | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Magpie-dev-${{ steps.hash.outputs.sha_short }}-${{ matrix.platform }} | |
path: ./publish/${{ matrix.platform }} |