Fix up intial filter on GCI.
@@ -17,13 +17,13 @@ jobs:
displayName: Build packages
- ${{ each artifact in parameters.Artifacts }}:
- pwsh: |
- Get-ChildItem sdk/${{parameters.ServiceDirectory}}/${{artifact.name}}/build/repo/**/${{artifact.name}} -Recurse | Where-Object -FilterScript { $_.Name -match "(jar|pom|aar)$" }
- #$stagingLocation = New-Item -Type Directory -Path $(Build.ArtifactStagingDirectory) -Name ${{artifact.name}}
- #$artifactsToStage | Copy-Item -Destination $stagingLocation
+ $artifactsToStage = Get-ChildItem sdk/${{parameters.ServiceDirectory}}/${{artifact.name}}/build/repo/**/${{artifact.name}}* -Recurse | Where-Object -FilterScript { $_.Name -match "(jar|pom|aar)$" }
+ $stagingLocation = New-Item -Type Directory -Path $(Build.ArtifactStagingDirectory) -Name ${{artifact.name}}
+ $artifactsToStage | Copy-Item -Destination $stagingLocation
displayName: Stage ${{artifact.name}} for upload
- # - publish: $(Build.ArtifactStagingDirectory)
- # artifact: packages
- # displayName: Upload artifacts
+ - publish: $(Build.ArtifactStagingDirectory)
+ artifact: packages
+ displayName: Upload artifacts
- job: 'Analyze'
