Use a plain copy script instead of CopyFiles task

This commit is contained in:
David Wilson
2018-07-27 06:10:04 -07:00
parent fe414b9027
commit 4205c6abb0

View File

@@ -34,17 +34,8 @@ phases:
# CI_PROVIDER: VSTS
# displayName: Run tests
# This step is necessary in the short term due to a bug in the *NIX
# implementation of the CopyFiles task which scans the entire file
# system structure just to resolve the glob pattern.
- script: rm -rf $(Build.SourcesDirectory)/out/*/
displayName: Delete Intermediate Output
- task: CopyFiles@2
inputs:
sourceFolder: $(Build.SourcesDirectory)/out
contents: '*.app'
targetFolder: $(Build.ArtifactStagingDirectory)
- script: |
cp -R $(Build.SourcesDirectory)/out/*.app $(Build.ArtifactStagingDirectory)
displayName: Stage Artifacts
- task: PublishBuildArtifacts@1