Skip to content

Upgrade NUnit (#106) #77

Upgrade NUnit (#106)

Upgrade NUnit (#106) #77

Workflow file for this run

name: Publish to NuGet
on:
push:
branches:
- main
jobs:
publish:
name: Build, Pack & Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore Dependencies
run: cd src && dotnet restore
- name: Build
run: cd src && dotnet build --configuration Release --no-restore
- name: Publish NuGet
uses: alirezanet/[email protected]
with:
PROJECT_FILE_PATH: src/Atrea.PolicyEngine/Atrea.PolicyEngine.csproj
NUGET_KEY: ${{secrets.NUGET_API_KEY}}