Skip to content

Commit 57e69c8

Browse files
committed
Fix how to push to nuget (again)
1 parent dbbe22f commit 57e69c8

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/dotnetcore.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,7 @@ jobs:
1919
- name: Build & package with dotnet
2020
run: dotnet pack --configuration Release
2121

22-
- name: Setup NuGet.exe for use with actions
23-
uses: NuGet/[email protected]
24-
25-
- name: Add private GitHub registry to NuGet
26-
run: nuget setApiKey ${{ secrets.NUGET_PUSH_TOKEN }}
27-
28-
- name: Push to GitHub nuget feed
29-
run: nuget push "src/GitExtensions.AzureDevOpsCommitMessage/bin/Release/GitExtensions.AzureDevOpsCommitMessage.*.nupkg" -Source https://api.nuget.org/v3/index.json
22+
- name: Push to Nuget.org nuget feed
23+
run: |
24+
cd "src/GitExtensions.AzureDevOpsCommitMessage/bin/Release"
25+
dotnet nuget push *.nupkg -k ${{ secrets.NUGET_PUSH_TOKEN }} -s https://api.nuget.org/v3/index.json

0 commit comments

Comments
 (0)