Skip to content

πŸš€ Deploy Nuget Package 2024.11.19 (#446) #25

πŸš€ Deploy Nuget Package 2024.11.19 (#446)

πŸš€ Deploy Nuget Package 2024.11.19 (#446) #25

Workflow file for this run

name: Package
on:
push:
branches:
- main
paths:
- 'CleanArchitecture.nuspec'
jobs:
publish:
name: Publish to NuGet.org
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: nuget/setup-nuget@v2
with:
nuget-version: '6.x'
- name: Create the package
run: nuget pack CleanArchitecture.nuspec -NoDefaultExcludes
- name: Publish the package
run: nuget push *.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGET_API_KEY}}