mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Use a plain copy script instead of CopyFiles task
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user