- [X] Updates the workflows - [X] Removes automatic releases. Notes: We may need multiple release updates to get this right.
33 lines
683 B
YAML
33 lines
683 B
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ${{ matrix.os }}
|
|
name: Build (${{ matrix.name }})
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- os: macos-10.15
|
|
name: MacOS 10.15
|
|
- os: macos-11.0
|
|
name: MacOS 11.0
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
|
|
- name: Setup .NET 5
|
|
uses: actions/setup-dotnet@v1
|
|
with:
|
|
dotnet-version: 5.0.102
|
|
- name: Build
|
|
run: ./publish.cmd
|
|
- name: Test
|
|
run: dotnet test --no-restore
|