mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
switch nuget.exe to dotnet nuget
This commit is contained in:
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@@ -20,14 +20,8 @@ jobs:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
path: ./packages
|
||||
|
||||
- name: Set up NuGet
|
||||
uses: nuget/setup-nuget@v2
|
||||
with:
|
||||
nuget-version: 'latest'
|
||||
nuget-api-key: ${{ secrets.NUGET_API_KEY }}
|
||||
|
||||
- name: Publish .nupkg files
|
||||
- name: Publish .nupkg and .snupkg files
|
||||
run: |
|
||||
for f in packages/*.nupkg; do
|
||||
nuget push "$f"
|
||||
dotnet nuget push "$f" -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate
|
||||
done
|
||||
Reference in New Issue
Block a user