Skip to content

Commit eded47e

Browse files
committed
Replace nuget.exe with dotnet nuget
1 parent 9e096ed commit eded47e

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -230,14 +230,9 @@ jobs:
230230
uses: actions/download-artifact@v4
231231
with:
232232
name: nuget
233-
- name: Install Nuget 5.x
234-
uses: nuget/setup-nuget@v2
235-
with:
236-
nuget-api-key: ${{ secrets.API_KEY }}
237-
nuget-version: '5.x'
238233
- name: Push package
239234
run: |
240-
nuget push $(ls TfsCmdlets*.nupkg) -Source https://api.nuget.org/v3/index.json
235+
dotnet nuget push $(ls TfsCmdlets*.nupkg) -s https://api.nuget.org/v3/index.json -k ${{ secrets.API_KEY }} --skip-duplicate
241236
242237
Chocolatey:
243238

0 commit comments

Comments
 (0)