Skip to content

Update JamesIves/github-pages-deploy-action action to v4.6.3 (#108) #79

Update JamesIves/github-pages-deploy-action action to v4.6.3 (#108)

Update JamesIves/github-pages-deploy-action action to v4.6.3 (#108) #79

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}}