Updated nuget deps and package version #37
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: publish Ardalis.CleanArchitecture Template to nuget | |
on: | |
push: | |
branches: | |
- main # Your default release branch | |
paths: | |
- 'CleanArchitecture.nuspec' | |
jobs: | |
publish: | |
name: list on nuget | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: nuget/setup-nuget@v1 | |
with: | |
nuget-version: '5.x' | |
- name: Package the template | |
run: nuget pack CleanArchitecture.nuspec -NoDefaultExcludes | |
- name: Publish to nuget.org | |
run: nuget push Ardalis.CleanArchitecture.Template.*.nupkg -src https://api.nuget.org/v3/index.json ${{secrets.NUGET_API_KEY}} |