cstdotnet/.github/workflows/dotnet.yml

27 lines
784 B
YAML
Raw Permalink Normal View History

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:
timeout-minutes: 15
continue-on-error: true
2022-10-10 02:56:37 -04:00
runs-on: ${{ matrix.platforms }}
2020-12-08 17:56:38 -05:00
strategy:
matrix:
dotnet: ["6.0.x"]
platforms: ["ubuntu-latest", "windows-latest", "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