Update dotnet.yml #84
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: .NET | |
env: | |
Configuration: Release | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: 6.0.x | |
- name: Restore and Build | |
run: dotnet build | |
- name: Pack | |
run: dotnet pack --no-build | |
- name: Test | |
run: dotnet test --no-build --verbosity normal | |
- name: envvar | |
run: printenv NUGET_XMLDOC_MODE | |