2020-12-08 17:56:38 -05:00
|
|
|
name: .NET
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2022-07-21 10:23:31 -04:00
|
|
|
branches: [main, master, "releases/**"]
|
2020-12-08 17:56:38 -05:00
|
|
|
pull_request:
|
2022-07-21 10:23:31 -04:00
|
|
|
branches: [main, master, "releases/**"]
|
2020-12-08 17:56:38 -05:00
|
|
|
jobs:
|
|
|
|
build:
|
2022-10-10 02:56:37 -04:00
|
|
|
runs-on: ${{ matrix.platforms }}
|
2020-12-08 17:56:38 -05:00
|
|
|
strategy:
|
|
|
|
matrix:
|
2021-11-19 13:52:26 -05:00
|
|
|
dotnet: ["6.0.x"]
|
2022-10-10 02:56:37 -04:00
|
|
|
platforms: ["ubuntu-latest", "windows-latex", "macos-latest"]
|
2020-12-08 17:56:38 -05:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Setup .NET
|
|
|
|
uses: actions/setup-dotnet@v1
|
|
|
|
with:
|
|
|
|
dotnet-version: ${{ matrix.dotnet }}
|
|
|
|
- name: Install dependencies
|
|
|
|
run: dotnet restore
|
|
|
|
- name: Build
|
|
|
|
run: dotnet build --configuration Release --no-restore
|