From e8a09b375c31c5cb64a3056680e4468a917f9e06 Mon Sep 17 00:00:00 2001 From: Tara Date: Fri, 20 Dec 2019 19:17:59 -0700 Subject: [PATCH] Update dotnetcore.yml --- .github/workflows/dotnetcore.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index c9dd409..7f6a520 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -5,14 +5,18 @@ on: [push] jobs: build: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [macOS-latest, ubuntu-latest, windows-latest] steps: - uses: actions/checkout@v1 - name: Setup .NET Core - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v1.2.0 with: - dotnet-version: 3.0 + dotnet-version: 3.0.100 + if: matrix.os == 'macOS-latest' || matrix.os == 'ubuntu-latest' - name: Restore Dependencies run: dotnet restore - name: Build