Skip to content

Update NuGet Packages - Minor Updates (#96) #69

Update NuGet Packages - Minor Updates (#96)

Update NuGet Packages - Minor Updates (#96) #69

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@v3
with:
dotnet-version: 7.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}}