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
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
dotnet: [ '2.1', '3.1' ]
|
||||||
|
name: Dotnet ${{ matrix.dotnet }} build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: Setup .NET Core
|
- name: Setup .NET Core
|
||||||
uses: actions/setup-dotnet@v1
|
uses: actions/setup-dotnet@v1
|
||||||
with:
|
with:
|
||||||
dotnet-version: 2.2.108
|
dotnet-version: ${{ matrix.dotnet }}
|
||||||
- name: Build with dotnet
|
- name: Build with dotnet
|
||||||
run: dotnet build --configuration Release
|
run: dotnet build --configuration Release
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue