Skip to content

Commit 05ef05e

Browse files
committed
Use recursive wildcard for discovering nuget packages.
It should have output the *.nupkg for all packages to the path ./ we passed into the build script, but the ./*.nupkg wildcard failed to find them for artifact upload. Either our script copies nupkg to the given folder locally but not in CI, or `dotnet nuget push ./*.nupkg` failed to locate nupkg files output to the working directory. Let's see which one.
1 parent dbb5a9b commit 05ef05e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ jobs:
272272
dotnet nuget add source https://pkgs.dev.azure.com/dotnet/CommunityToolkit/_packaging/CommunityToolkit-PullRequests/nuget/v3/index.json `
273273
--name PullRequests `
274274
--username dummy --password ${{ secrets.DEVOPS_PACKAGE_PUSH_TOKEN }}
275-
dotnet nuget push "./*.nupkg" --api-key dummy --source PullRequests --skip-duplicate
275+
dotnet nuget push "./**/*.nupkg" --api-key dummy --source PullRequests --skip-duplicate
276276
277277
- name: Upload Package List
278278
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)