Update Sample.UI null check #8
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
# This workflow will build a .NET project | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net | |
name: .NET | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: | | |
3.0.x | |
3.1.x | |
5.0.x | |
6.0.x | |
7.0.x | |
8.0.x | |
- name: .NET Restore | |
run: dotnet restore | |
- name: Build WindowsMediaController | |
run: dotnet build WindowsMediaController --configuration Release | |
- name: Upload WindowsMediaController | |
uses: actions/upload-artifact@v3 | |
with: | |
name: WindowsMediaController | |
path: .\WindowsMediaController\bin\Release\ | |
- name: Build Sample.CMD | |
run: dotnet build Sample.CMD --configuration Debug | |
- name: Upload Sample.CMD | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Sample.CMD | |
path: .\Sample.CMD\bin\Debug\net472\ | |
- name: Build Sample.UI | |
run: dotnet build Sample.UI --configuration Debug | |
- name: Upload Sample.UI | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Sample.UI | |
path: .\Sample.UI\bin\Debug\net6.0-windows10.0.22000.0\ |