Merge branch 'fullstackhero:main' into main #2
This file contains hidden or 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 Package to NuGet.org | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - "FSH.StarterKit.nuspec" | |
| jobs: | |
| publish: | |
| name: publish nuget | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| name: checkout code | |
| - uses: nuget/setup-nuget@v2 | |
| name: setup nuget | |
| with: | |
| nuget-version: "latest" | |
| nuget-api-key: ${{ secrets.NUGET_API_KEY }} | |
| - name: generate package | |
| run: nuget pack FSH.StarterKit.nuspec -NoDefaultExcludes | |
| - name: publish package | |
| run: nuget push *.nupkg -Source 'https://api.nuget.org/v3/index.json' -SkipDuplicate |