We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d368d4a commit e015277Copy full SHA for e015277
eng/pipelines/templates/stages/archetype-python-release.yml
@@ -195,7 +195,12 @@ stages:
195
- checkout: self
196
197
- pwsh: |
198
- Get-ChildItem -Recurse $(Pipeline.Workspace)/${{parameters.DocArtifact}}/${{artifact.name}}
+ if (Test-Path "$(Pipeline.Workspace)/${{parameters.DocArtifact}}/${{artifact.name}}") {
199
+ Get-ChildItem -Recurse "$(Pipeline.Workspace)/${{parameters.DocArtifact}}/${{artifact.name}}"
200
+ }
201
+ else {
202
+ New-Item -ItemType Directory -Force -Path "$(Pipeline.Workspace)/${{parameters.DocArtifact}}/${{artifact.name}}"
203
204
workingDirectory: $(Pipeline.Workspace)
205
displayName: Output Visible Artifacts
206
0 commit comments