Fix issue that m_adorner will be null which cause possible null excep… #814
This file contains hidden or 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 Controls & Gallery | |
| # This workflow builds the iNKORE.UI.WPF.Modern.Controls and iNKORE.UI.WPF.Modern.Gallery projects and uploads the artifacts for use in other workflows or releases. | |
| on: | |
| push: | |
| branches: [ ] | |
| pull_request: | |
| branches: [ ] | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup MSBuild | |
| uses: microsoft/[email protected] | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v3 | |
| with: | |
| dotnet-version: | | |
| 6.0.x | |
| 7.0.x | |
| - name: Restore NuGet packages | |
| run: | | |
| nuget restore iNKORE.UI.WPF.Modern.sln | |
| - name: Build solution | |
| run: | | |
| msbuild iNKORE.UI.WPF.Modern.sln /p:Configuration=Release /p:Platform="Any CPU" | |
| - name: Upload Controls artifact (.NET 6.0) | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: iNKORE.UI.WPF.Modern.Controls | |
| path: source\iNKORE.UI.WPF.Modern.Controls\bin\Release\net6.0-windows10.0.18362.0 | |
| - name: Upload Gallery artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: iNKORE.UI.WPF.Modern.Gallery | |
| path: source\iNKORE.UI.WPF.Modern.Gallery\bin\Release\net6.0-windows10.0.18362.0 |