Skip to content

Merge pull request #12 from amantinband/fix-file-extension #31

Merge pull request #12 from amantinband/fix-file-extension

Merge pull request #12 from amantinband/fix-file-extension #31

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 -NoDefaultExcludes
- name: Publish
run: nuget push .\artifacts\*.nupkg -ApiKey ${{ secrets.NUGET_API_KEY }} -Source https://api.nuget.org/v3/index.json -SkipDuplicate