Fix white border artifact on maximized Form (Windows 11) #128
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: .NET Build | |
| # Trigger the workflow on push or pull request | |
| on: [pull_request, workflow_dispatch] | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| os: [macos-latest, windows-latest, ubuntu-latest] | |
| fail-fast: false | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v1 | |
| with: | |
| dotnet-version: '8.0.x' | |
| - name: Build with dotnet | |
| run: dotnet build --configuration Release | |
| - name: Test with dotnet | |
| if: runner.os == 'Windows' | |
| run: dotnet test --configuration Release | |
| - name: Enforce .NET code formatting | |
| run: dotnet format --verify-no-changes --verbosity diagnostic | |
| - name: Package NuGet | |
| if: runner.os == 'Windows' | |
| run: dotnet pack src\Modern.Forms\Modern.Forms.csproj --configuration Release | |
| - name: Upload NuGet | |
| uses: actions/upload-artifact@v4.0.0 | |
| if: runner.os == 'Windows' | |
| with: | |
| name: NuGet Package | |
| path: nupkg |