tomas/.github/workflows/dotnet.yml
Tony Bark 4f0863f429 Start() in IProgram has been renamed to Run()
- 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
2021-03-31 00:10:38 -04:00

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