cstdotnet/.github/workflows/dotnet.yml
Tony Bark 3f119956c4 Add Nuget publishing to Github
- Removed unit testing due to IO issues with CI
2020-12-08 20:20:21 -05:00

26 lines
677 B
YAML

name: .NET
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
dotnet: ["3.1.404", "5.0.101"]
os: [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
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore