mirror of
https://github.com/tonytins/tomas.git
synced 2025-03-15 12:21:23 +00:00
- Run() loop in the shell is now wrapped in a try-catch statement. - Added Github CI - Removed OSConsts and TermConsts - Programs can now access the programs dictionary directly from the shell
28 lines
688 B
YAML
28 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
|