Skip to content

Update nuspec definition #11

Update nuspec definition

Update nuspec definition #11

Workflow file for this run

name: Publish template to NuGet
on:
workflow_dispatch:
push:
branches:
- main
jobs:
publish:
name: Package & Publish template
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup NuGet
uses: NuGet/setup-nuget@v1
with:
nuget-version: '5.x'
- name: Package
run: nuget pack Amantinband.CleanArchitecture.Template.nuspec -OutputDirectory artifacts
- name: Publish
run: nuget push .\artifacts\*.nupkg -ApiKey ${{ secrets.NUGET_API_KEY }} -Source https://api.nuget.org/v3/index.json -SkipDuplicate