Skip to content

Commit 53baf7c

Browse files
committed
Fix packages path to push
1 parent a2db49c commit 53baf7c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

eng/pipelines/templates/jobs/dnup/dnup-library-publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,15 @@ jobs:
3737
inputs:
3838
artifactName: dnup-library-packages
3939
targetPath: $(System.DefaultWorkingDirectory)/artifacts
40+
- powershell: |
41+
& Get-ChildItem -Path $(System.DefaultWorkingDirectory)/artifacts -Recurse -File | Select-Object -ExpandProperty FullName
4042
# 1ES docs: https://eng.ms/docs/cloud-ai-platform/devdiv/one-engineering-system-1es/1es-docs/1es-pipeline-templates/features/outputs/nuget-packages
4143
# DotNetCoreCLI@2 docs: https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/dotnet-core-cli-v2
4244
- ${{ if eq(true, true) }}:
4345
- task: 1ES.PublishNuget@1
4446
displayName: 🟣 Publish packages to AzDO
4547
inputs:
4648
useDotNetTask: true
47-
packagesToPush: $(System.DefaultWorkingDirectory)/artifacts/packages/**/*.nupkg
49+
packagesToPush: $(System.DefaultWorkingDirectory)/artifacts/**/*.nupkg
4850
packageParentPath: $(System.DefaultWorkingDirectory)/artifacts
4951
publishVstsFeed: public/dotnet-tools

0 commit comments

Comments
 (0)