Add an example of using .Net 5 in the readme

This commit is contained in:
John Wostenberg 2020-12-04 22:26:22 -07:00 committed by GitHub
parent 8336fd394b
commit f1b8f76a67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet: [ '2.2.103', '3.0', '3.1.x' ]
dotnet: [ '2.2.103', '3.0', '3.1.x', '5.0.100' ]
name: Dotnet ${{ matrix.dotnet }} sample
steps:
- uses: actions/checkout@v2
@ -59,11 +59,11 @@ jobs:
- name: Setup dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: '2.2.103'
dotnet-version: '3.1.x'
- name: Setup dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: '3.1.x'
dotnet-version: '5.0.100'
- run: dotnet build <my project>
- run: dotnet test <my project>
```