Update dotnetcore.yml
Learning about continuous integration. - Testing build using multiple versions of .NET Core.
This commit is contained in:
parent
279d6bea4c
commit
1018def995
1 changed files with 12 additions and 7 deletions
19
.github/workflows/dotnetcore.yml
vendored
19
.github/workflows/dotnetcore.yml
vendored
|
|
@ -7,11 +7,16 @@ jobs:
|
|||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
dotnet: [ '2.1', '3.1' ]
|
||||
name: Dotnet ${{ matrix.dotnet }} build
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Setup .NET Core
|
||||
uses: actions/setup-dotnet@v1
|
||||
with:
|
||||
dotnet-version: 2.2.108
|
||||
- name: Build with dotnet
|
||||
run: dotnet build --configuration Release
|
||||
- uses: actions/checkout@v1
|
||||
- name: Setup .NET Core
|
||||
uses: actions/setup-dotnet@v1
|
||||
with:
|
||||
dotnet-version: ${{ matrix.dotnet }}
|
||||
- name: Build with dotnet
|
||||
run: dotnet build --configuration Release
|
||||
|
|
|
|||
Loading…
Reference in a new issue