Skip to content

Support running build manually #1

Support running build manually

Support running build manually #1

Workflow file for this run

name: .NET Build & Test
on:
- push
- pull_request
- workflow_call
- workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- uses: dotnet/nbgv@main
id: nbgv
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal