Skip to content

Update nuget.yml

Update nuget.yml #35

Workflow file for this run

name: NuGet
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: nuget/[email protected]
with:
nuget-api-key: ${{ secrets.NUGET_API_KEY }}
nuget-version: 'latest'
- run: pwsh ./build-nuget.ps1
- run: nuget push -src "https://www.nuget.org/api/v2/package" $(find . -name "*ProjectTemplates*.nupkg")
shell: pwsh