Skip to content
This repository was archived by the owner on Dec 27, 2020. It is now read-only.

Commit e1b36cb

Browse files
committed
Fix: [AzurePipelines] zip the windows dependencies
This allows the zip file to be published on GitHub under releases
1 parent a1910b9 commit e1b36cb

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

azure-pipelines-windows.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,18 @@ jobs:
3737
rmdir /s /q vcpkg\packages
3838
rmdir /s /q vcpkg\ports
3939
rmdir /s /q vcpkg\toolsrc
40+
mv vcpkg windows-dependencies
4041
displayName: 'Remove unused files'
42+
- task: ArchiveFiles@2
43+
displayName: Archive
44+
inputs:
45+
rootFolderOrFile: 'windows-dependencies'
46+
archiveFile: 'windows-dependencies.zip'
4147

4248
# Only publish when it triggered on 'master' (and not on a Pull Request)
4349
- task: PublishBuildArtifacts@1
4450
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
4551
displayName: Publish
4652
inputs:
47-
PathtoPublish: vcpkg
53+
PathtoPublish: windows-dependencies.zip
4854
ArtifactName: 'windows-dependencies'

0 commit comments

Comments
 (0)