Skip to content

Commit beed787

Browse files
Pass key in env:
1 parent f2e1547 commit beed787

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/dotnet.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,6 @@ jobs:
2424
- name: Generate NuGet package
2525
run: dotnet pack --no-build -c --include-source Release src/EventSourcingOnAzureFunctions.Common/EventSourcingOnAzureFunctions.Common.csproj -o src/EventSourcingOnAzureFunctions.Common
2626
- name: Push NuGet package
27-
run: dotnet nuget push src/EventSourcingOnAzureFunctions.Common/EventSourcingOnAzureFunctions.Common.nupkg -s https://api.nuget.org/v3/index.json -k ${{ NUGET_KEY }} --skip-duplicate
27+
env:
28+
NUGET_KEY: ${{ secrets.NUGET_KEY }}
29+
run: dotnet nuget push src/EventSourcingOnAzureFunctions.Common/EventSourcingOnAzureFunctions.Common.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_KEY --skip-duplicate

0 commit comments

Comments
 (0)