Update dotnet.yml

This commit is contained in:
singatias
2023-11-04 16:21:46 -04:00
committed by GitHub
parent b71a8a46d1
commit bee08c41b4
+3 -2
View File
@@ -30,7 +30,8 @@ jobs:
- name: Build and Pack NuGet Package
run: dotnet pack -c Release -o ./artifacts
- name: Publish to NuGet
run: dotnet nuget push ./artifacts/*.nupkg --source https://nuget.pkg.github.com/singatias/index.json --api-key ${{ secrets.NUGET_API_KEY }}
- name: Publish to NuGet.org
run: |
dotnet nuget push ./artifacts/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}
env:
NUGET_VERSION: ${{ steps.extract_version.outputs.release_version }}