Update dotnet.yml
This commit is contained in:
parent
b71a8a46d1
commit
bee08c41b4
5
.github/workflows/dotnet.yml
vendored
5
.github/workflows/dotnet.yml
vendored
@ -30,7 +30,8 @@ jobs:
|
|||||||
- name: Build and Pack NuGet Package
|
- name: Build and Pack NuGet Package
|
||||||
run: dotnet pack -c Release -o ./artifacts
|
run: dotnet pack -c Release -o ./artifacts
|
||||||
|
|
||||||
- name: Publish to NuGet
|
- name: Publish to NuGet.org
|
||||||
run: dotnet nuget push ./artifacts/*.nupkg --source https://nuget.pkg.github.com/singatias/index.json --api-key ${{ secrets.NUGET_API_KEY }}
|
run: |
|
||||||
|
dotnet nuget push ./artifacts/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}
|
||||||
env:
|
env:
|
||||||
NUGET_VERSION: ${{ steps.extract_version.outputs.release_version }}
|
NUGET_VERSION: ${{ steps.extract_version.outputs.release_version }}
|
||||||
|
Loading…
Reference in New Issue
Block a user