File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,14 +48,15 @@ jobs:
4848
4949 - name : NuGet login (OIDC)
5050 uses : nuget/login@v1
51+ id : login
5152 with :
5253 user : ${{ secrets.NUGET_USERNAME }}
5354
5455 - name : Publish SDK to NuGet
55- run : dotnet nuget push artifacts/packages/CodingWithCalvin.VsixSdk.${{ steps.version.outputs.VERSION }}.nupkg --source https://api.nuget.org/v3/index.json --skip-duplicate
56+ run : dotnet nuget push artifacts/packages/CodingWithCalvin.VsixSdk.${{ steps.version.outputs.VERSION }}.nupkg --api-key ${{steps.login.outputs.NUGET_API_KEY}} -- source https://api.nuget.org/v3/index.json --skip-duplicate
5657
5758 - name : Publish Templates to NuGet
58- run : dotnet nuget push artifacts/packages/CodingWithCalvin.VsixSdk.Templates.${{ steps.version.outputs.VERSION }}.nupkg --source https://api.nuget.org/v3/index.json --skip-duplicate
59+ run : dotnet nuget push artifacts/packages/CodingWithCalvin.VsixSdk.Templates.${{ steps.version.outputs.VERSION }}.nupkg --api-key ${{steps.login.outputs.NUGET_API_KEY}} -- source https://api.nuget.org/v3/index.json --skip-duplicate
5960
6061 - name : Create GitHub Release
6162 uses : softprops/action-gh-release@v1
7475 post_text : |
7576 🚀 CodingWithCalvin.VsixSdk v${{ needs.release.outputs.version }} has been released!
7677
77- Build modern SDK-style Visual Studio extensions with ease.
78+ Build modern SDK-style Visual Studio extensions with ease!
7879
7980 [📋 Release Notes](https://github.com/${{ github.repository }}/releases/tag/v${{ needs.release.outputs.version }})
8081 [📦 NuGet](https://www.nuget.org/packages/CodingWithCalvin.VsixSdk)
9495 post_text : |
9596 🚀 CodingWithCalvin.VsixSdk v${{ needs.release.outputs.version }} has been released!
9697
97- Build modern SDK-style Visual Studio extensions with ease.
98+ Build modern SDK-style Visual Studio extensions with ease!
9899
99100 📋 Release Notes: https://github.com/${{ github.repository }}/releases/tag/v${{ needs.release.outputs.version }}
100101 📦 NuGet: https://www.nuget.org/packages/CodingWithCalvin.VsixSdk
You can’t perform that action at this time.
0 commit comments