name: .NET Core on: [push, pull_request] jobs: build: 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: ${{ matrix.dotnet }} - name: Build with dotnet run: dotnet build --configuration Release