mirror of
https://github.com/Stone-Red-Software/StoneRed.NetificationApi.git
synced 2026-09-04 08:46:05 +02:00
Update publish-nuget.yml
This commit is contained in:
@@ -17,10 +17,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
dotnet-version: '8.0.x' # SDK Version to use.
|
dotnet-version: '8.0.x' # SDK Version to use.
|
||||||
source-url: https://nuget.pkg.github.com/Stone-Red-Software/index.json
|
source-url: https://nuget.pkg.github.com/Stone-Red-Software/index.json
|
||||||
env:
|
|
||||||
NUGET_AUTH_TOKEN: ${{secrets.NUGET_TOKEN}}
|
|
||||||
- run: dotnet build --configuration Release src/StoneRed.NetificationApi
|
- run: dotnet build --configuration Release src/StoneRed.NetificationApi
|
||||||
- name: Create the package
|
- name: Create the package
|
||||||
run: dotnet pack --configuration Release src/StoneRed.NetificationApi
|
run: dotnet pack --configuration Release src/StoneRed.NetificationApi
|
||||||
- name: Publish the package to nuget.org
|
- name: Publish the package to nuget.org
|
||||||
run: dotnet nuget push src/StoneRed.NetificationApi/bin/Release/*.nupkg -k $NUGET_AUTH_TOKEN -s https://api.nuget.org/v3/index.json
|
run: dotnet nuget push src/StoneRed.NetificationApi/bin/Release/*.nupkg -k $NUGET_TOKEN -s https://api.nuget.org/v3/index.json
|
||||||
|
|||||||
Reference in New Issue
Block a user