name: .NET Core on: push: pull_request: branches: master jobs: build: name: Build on dotnet using ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, windows-latest, macOS-latest] steps: - uses: actions/checkout@v2 - name: Setup dotnet uses: actions/setup-dotnet@v1 with: dotnet-version: 5.0.x - name: Build with dotnet run: dotnet build -c Release