feat : upgrade to .NET 9 (#1061) #3
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 NuGet | |
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 |