Update dotnetcore.yml
This commit is contained in:
parent
10fe66e954
commit
e8a09b375c
1 changed files with 7 additions and 3 deletions
10
.github/workflows/dotnetcore.yml
vendored
10
.github/workflows/dotnetcore.yml
vendored
|
@ -5,14 +5,18 @@ on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [macOS-latest, ubuntu-latest, windows-latest]
|
||||||
|
|
||||||
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.2.0
|
||||||
with:
|
with:
|
||||||
dotnet-version: 3.0
|
dotnet-version: 3.0.100
|
||||||
|
if: matrix.os == 'macOS-latest' || matrix.os == 'ubuntu-latest'
|
||||||
- name: Restore Dependencies
|
- name: Restore Dependencies
|
||||||
run: dotnet restore
|
run: dotnet restore
|
||||||
- name: Build
|
- name: Build
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue