mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-03 11:05:56 +00:00
375c20e49a
* Move the build to .net 5 .NET 5 is fine for building projects that target older versions of .NET. This also should fix the AppVeyor build which fails because the latest `coverlet.console` only supports .NET 5. * Some things need .NET core 3.1 available Co-authored-by: Brendan Forster <github@brendanforster.com>
33 lines
610 B
YAML
33 lines
610 B
YAML
name: CI Build
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- "main"
|
|
push:
|
|
branches:
|
|
- "main"
|
|
|
|
jobs:
|
|
build:
|
|
|
|
strategy:
|
|
matrix:
|
|
platform: [ubuntu-latest, macos-latest, windows-latest]
|
|
|
|
runs-on: ${{ matrix.platform }}
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Setup .NET 5
|
|
uses: actions/setup-dotnet@v1
|
|
with:
|
|
dotnet-version: 5.0.*
|
|
- name: Setup .NET Core
|
|
uses: actions/setup-dotnet@v1
|
|
with:
|
|
dotnet-version: 3.1.*
|
|
- name: Build with dotnet
|
|
run: ./build.sh --linksources=true --verbosity=verbose
|
|
shell: bash
|