Skip to content

update .NET version in build.yml #3

update .NET version in build.yml

update .NET version in build.yml #3

Workflow file for this run

name: build
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
working-directory: test
- name: NuGet pack
run: dotnet pack
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: NuGet
path: ./dist/*.nupkg