Skip to content

Commit 17809c8

Browse files
authored
fix(ci): push all packages again (#627)
Fixes #626
1 parent e55e0bc commit 17809c8

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,9 @@ jobs:
7373
with:
7474
name: NuGet packages
7575
path: packages
76-
- name: Push packages
77-
run: dotnet nuget push packages/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
76+
- name: Push packages
77+
# The find,xargs chain below seems unnecessarily complex, but is required to work around https://github.com/NuGet/Home/issues/4393 :/
78+
run: find packages -name '*.nupkg' | xargs -i dotnet nuget push --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json {}
7879
- uses: dotnet/nbgv@v0.3.1
7980
id: nbgv
8081
- name: Create GitHub release

0 commit comments

Comments
 (0)