Update dotnet-windows.yml

This commit is contained in:
Felix Weiß
2022-06-21 10:07:50 +02:00
committed by GitHub
parent 3a5cdb11c2
commit 881253130b

View File

@@ -1,4 +1,4 @@
name: .NET name: .NET Windows
on: on:
push: push:
@@ -8,18 +8,16 @@ on:
jobs: jobs:
build: build:
runs-on: windows-latest runs-on: windows-latest
strategy:
matrix:
dotnet-version: [ '3.0', '3.1.x', '5.0.x' ]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Setup .NET - name: Setup dotnet ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v2 uses: actions/setup-dotnet@v2
with: with:
dotnet-version: 5.0.x dotnet-version: ${{ matrix.dotnet-version }}
- name: Restore dependencies # You can test your matrix by printing the current dotnet version
run: dotnet restore - name: Display dotnet version
- name: Build run: dotnet --version
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal