Support Windows 11 v22631.3155 #63
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: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
env: | |
DOTNET_VERSION: 8.0.x | |
BUILD_TARGET: .\src\VirtualDesktop.sln | |
jobs: | |
build: | |
name: .NET Build | |
runs-on: windows-latest | |
# Don't build for release the publish workflow will do that to | |
if: "!startsWith(github.event.head_commit.message, 'Release v')" | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use .NET ${{ env.DOTNET_VERSION }} | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: ${{ env.DOTNET_VERSION }} | |
- name: Build | |
run: dotnet build ${{ env.BUILD_TARGET }} -c Release |