Skip to content

Commit 286be6f

Browse files
committed
Setting up continuous deployment workflow
1 parent 1b531e9 commit 286be6f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/cd-aspnetcore-mvc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ jobs:
2828
- name: Pack
2929
run: dotnet pack --configuration Release --no-build
3030
- name: NuGet Push Ndjson.AsyncStreams.AspNetCore.Mvc
31-
run: dotnet nuget push Ndjson.AsyncStreams.AspNetCore.Mvc.${VERSION}.nupkg --source https://api.nuget.org/v3/index.json --api-key ${NUGET_API_KEY}
31+
run: dotnet nuget push src/Ndjson.AsyncStreams.AspNetCore.Mvc/bin/Release/Ndjson.AsyncStreams.AspNetCore.Mvc.${VERSION}.nupkg --source https://api.nuget.org/v3/index.json --api-key ${NUGET_API_KEY}
3232
env:
3333
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
3434
- name: NuGet Push Ndjson.AsyncStreams.AspNetCore.Mvc.NewtonsoftJson
35-
run: dotnet nuget push Ndjson.AsyncStreams.AspNetCore.Mvc.NewtonsoftJson.${VERSION}.nupkg --source https://api.nuget.org/v3/index.json --api-key ${NUGET_API_KEY}
35+
run: dotnet nuget push src/Ndjson.AsyncStreams.AspNetCore.Mvc.NewtonsoftJson/bin/Release/Ndjson.AsyncStreams.AspNetCore.Mvc.NewtonsoftJson.${VERSION}.nupkg --source https://api.nuget.org/v3/index.json --api-key ${NUGET_API_KEY}
3636
env:
3737
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}

.github/workflows/cd-net-http.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ jobs:
2828
- name: Pack
2929
run: dotnet pack --configuration Release --no-build
3030
- name: NuGet Push Ndjson.AsyncStreams.Net.Http
31-
run: dotnet nuget push Ndjson.AsyncStreams.Net.Http.${VERSION}.nupkg --source https://api.nuget.org/v3/index.json --api-key ${NUGET_API_KEY}
31+
run: dotnet nuget push src/Ndjson.AsyncStreams.Net.Http/bin/Release/Ndjson.AsyncStreams.Net.Http.${VERSION}.nupkg --source https://api.nuget.org/v3/index.json --api-key ${NUGET_API_KEY}
3232
env:
3333
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}

0 commit comments

Comments
 (0)