Skip to content

chore: NuGet installation instructions in README #4

chore: NuGet installation instructions in README

chore: NuGet installation instructions in README #4

Workflow file for this run

name: build
on:
release:
types: [created]
push:
branches:
- master
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
9.0.x
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build -c Release --no-restore
- name: Test
run: dotnet test -c Release --no-build --verbosity normal
- name: Pack
run: dotnet pack src\PcdSharp.csproj -c Release --no-build -o nupkg\
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: nuget-packages
path: nupkg/*.nupkg