Update and rename dotnet-desktop.yml to check.yml

This commit is contained in:
pointfeev 2021-08-09 05:24:03 -05:00 committed by GitHub
parent dcaecf04f0
commit c0143c5bf5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
name: .NET Core Desktop
name: Check
on:
push:
@ -26,18 +26,30 @@ jobs:
with:
fetch-depth: 0
- name: Install .NET
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x
- name: Restore Project
run: dotnet restore
- name: Build Project
run: dotnet build --no-restore
- name: Test Project
run: dotnet test --no-build --verbosity normal
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1.0.2
- name: Execute Unit Tests
run: dotnet test
- name: Restore Application
- name: Restore Solution
run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration
env:
Configuration: ${{ matrix.configuration }}
- name: Build Solution
run: msbuild $env:Solution_Name /t:Build /p:Configuration=$env:Configuration
env:
Configuration: ${{ matrix.configuration }}