Skip to content

perf: Exclude the definition of the CanCenterOverWPFOwnerPropertyInfo… #46

perf: Exclude the definition of the CanCenterOverWPFOwnerPropertyInfo…

perf: Exclude the definition of the CanCenterOverWPFOwnerPropertyInfo… #46

name: wpf-ui-cd-extension
on:
push:
branches: [main]
paths:
- 'src/Wpf.Ui.Extension**`

Check failure on line 7 in .github/workflows/wpf-ui-cd-extension.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/wpf-ui-cd-extension.yaml

Invalid workflow file

You have an error in your yaml syntax on line 7
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: microsoft/setup-msbuild@v2
with:
msbuild-architecture: x64
- uses: nuget/setup-nuget@v2
with:
nuget-api-key: ${{ secrets.NUGET_API_KEY }}
- name: Restore dependencies
run: nuget restore Wpf.Ui.sln
- name: Build the solution
run: msbuild src\Wpf.Ui.Extension\Wpf.Ui.Extension.csproj /t:Rebuild -p:Configuration=Release -p:RestorePackages=false -p:Platform="x64" -p:ProductArchitecture="amd64" -p:GITHUB_ACTIONS=True
- name: Build the solution
run: msbuild src\Wpf.Ui.Extension\Wpf.Ui.Extension.csproj /t:Rebuild -p:Configuration=Release -p:RestorePackages=false -p:Platform="arm64" -p:ProductArchitecture="arm64" -p:GITHUB_ACTIONS=True
- uses: actions/upload-artifact@v4
with:
name: wpf-ui-vs22-extension-x64
path: src\Wpf.Ui.Extension\bin\x64\Release\Wpf.Ui.Extension.vsix
- uses: actions/upload-artifact@v4
with:
name: wpf-ui-vs22-extension-arm64
path: src\Wpf.Ui.Extension\bin\arm64\Release\Wpf.Ui.Extension.vsix