mirror of
https://github.com/tonytins/tomas.git
synced 2025-03-15 12:21:23 +00:00
29 lines
688 B
YAML
29 lines
688 B
YAML
|
name: .NET
|
||
|
|
||
|
on:
|
||
|
schedule:
|
||
|
- cron: "0 0 * * 0"
|
||
|
push:
|
||
|
branches: [master, main, develop, "feature/**"]
|
||
|
pull_request:
|
||
|
branches: [master, main, develop, "feature/**"]
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
runs-on: ${{ matrix.os }}
|
||
|
strategy:
|
||
|
matrix:
|
||
|
dotnet: ["3.1.x", "5.0.x"]
|
||
|
os: [windows-latest, ubuntu-latest, macOS-latest]
|
||
|
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- name: Setup .NET
|
||
|
uses: actions/setup-dotnet@v1
|
||
|
with:
|
||
|
dotnet-version: ${{ matrix.dotnet }}
|
||
|
- name: Install dependencies
|
||
|
run: dotnet restore src/Tomas.Terminal
|
||
|
- name: Build
|
||
|
run: dotnet build src/Tomas.Terminal -c Release --no-restore
|