2023-01-02 16:26:29 -05:00
|
|
|
name: .NET
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [main, master, "releases/**"]
|
|
|
|
pull_request:
|
|
|
|
branches: [main, master, "releases/**"]
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
timeout-minutes: 15
|
|
|
|
continue-on-error: true
|
|
|
|
runs-on: ${{ matrix.platforms }}
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2025-02-18 08:18:59 -05:00
|
|
|
dotnet: ["8.0.x"]
|
2023-01-02 16:26:29 -05:00
|
|
|
platforms: ["ubuntu-latest", "windows-latest", "macos-latest"]
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Setup .NET
|
|
|
|
uses: actions/setup-dotnet@v1
|
|
|
|
with:
|
|
|
|
dotnet-version: ${{ matrix.dotnet }}
|
|
|
|
- name: Install dependencies
|
2023-01-02 16:30:31 -05:00
|
|
|
run: dotnet restore src
|
2023-01-02 16:26:29 -05:00
|
|
|
- name: Build
|
2023-01-02 16:30:31 -05:00
|
|
|
run: dotnet build src --configuration Release --no-restore
|