Show current version (using nbgv) in help page #1072
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: on-push-do-test | |
on: | |
push: | |
branches: | |
- feature/* | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [windows-latest] | |
runs-on: ${{ matrix.os }} | |
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: 8.0.x | |
- uses: dotnet/nbgv@master | |
id: nbgv | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build -c debug --no-restore | |
- name: Test | |
run: dotnet test -c debug --no-build --verbosity normal |