Skip to content

Generate NuGet Package #18

Generate NuGet Package

Generate NuGet Package #18

name: Generate NuGet Package
on:
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup dotnet
uses: actions/setup-dotnet@v4
- name: Install dependencies
run: dotnet restore src/ZeroRedact
- name: Test with dotnet
run: dotnet test src/ZeroRedact.UnitTest
- name: Create Package
run: dotnet pack src/ZeroRedact -c Release -o artifacts/
- name: Upload NuGet Package and symbols to GitHub Artifacts
uses: actions/upload-artifact@v4
with:
path: artifacts/