Skip to content

Commit e08aeb4

Browse files
committed
ci: production.yml
1 parent 7f497a7 commit e08aeb4

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/production.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ jobs:
1313
uses: actions/checkout@v1
1414
- name: Setup .NET Core
1515
uses: actions/setup-dotnet@v1
16-
with:
17-
source-url: https://api.nuget.org/v3/index.json
18-
env:
19-
NUGET_AUTH_TOKEN: ${{secrets.NUGET_DEPLOY_KEY}}
2016
- name: Build
2117
run: dotnet build -c Release
2218
- name: Pack artifacts
@@ -27,4 +23,4 @@ jobs:
2723
name: nupkg
2824
path: artifacts/*
2925
- name: Publish to NuGet
30-
run: dotnet nuget push "artifacts/*.nupkg"
26+
run: dotnet nuget push "artifacts/*.nupkg" --api-key ${{ secrets.NUGET_DEPLOY_KEY }} --source https://api.nuget.org/v3/index.json

0 commit comments

Comments
 (0)