Fix artifact source globbing for extract (#42484)
authorMatt Mitchell <mmitche@microsoft.com>
Mon, 21 Sep 2020 08:27:40 +0000 (01:27 -0700)
committerGitHub <noreply@github.com>
Mon, 21 Sep 2020 08:27:40 +0000 (01:27 -0700)
commit0e30f6fdc3ba5e1ef7ffb952fcb4762e5041c491
tree543d9c78bbcbea08934428fa9699e8d6b0e8807d
parentccee78d2d423649000f5f0d0c1ece1ccd4d95f51
Fix artifact source globbing for extract (#42484)

* Fix artifact source globbing for extract
There was a change the extract AzDO task that fixed a bug where it appeared to be matching some subpaths without globbing.

If you specified foo/x* it would apparently match subpaths of foo. Runtime was relying on this behavior, as the artifact target directory would implicitly get a subdirectory which was the artifact name, but not including that artifact name in the globbing pattern.

Fix this by including ** before the archive.

* Update download-artifact-step.yml
eng/pipelines/installer/jobs/base-job.yml