[devops] Add the bundle.zip and msbuild.zip files to the 'package' artifact. (#19402)
This fixes this error in Azure DevOps: * [PR] bundle.zip — bundle.zip not found. * [PR] msbuild.zip — msbuild.zip not found.
This commit is contained in:
Родитель
c309661cca
Коммит
3077ee9e62
|
@ -130,6 +130,25 @@ jobs:
|
||||||
artifactName: '${{ parameters.uploadPrefix }}package-internal'
|
artifactName: '${{ parameters.uploadPrefix }}package-internal'
|
||||||
continueOnError: true
|
continueOnError: true
|
||||||
|
|
||||||
|
# download msbuild.zip and bundle.zip to the 'package' dir, so that they're uploaded into the 'package' artifact,
|
||||||
|
# since we later depend on these files being there later.
|
||||||
|
- task: DownloadPipelineArtifact@2
|
||||||
|
displayName: Download msbuild.zip and bundle.zip
|
||||||
|
inputs:
|
||||||
|
patterns: |
|
||||||
|
not-signed-package/msbuild.zip
|
||||||
|
not-signed-package/bundle.zip
|
||||||
|
allowFailedBuilds: true
|
||||||
|
path: $(Build.SourcesDirectory)/not-signed-package
|
||||||
|
|
||||||
|
- bash: |
|
||||||
|
set -x
|
||||||
|
set -e
|
||||||
|
ls -la "$BUILD_SOURCESDIRECTORY"/not-signed-package
|
||||||
|
cp "$BUILD_SOURCESDIRECTORY"/not-signed-package/not-signed-package/*.zip "$BUILD_SOURCESDIRECTORY"/package
|
||||||
|
ls -la "$BUILD_SOURCESDIRECTORY"/package
|
||||||
|
displayName: Copy msbuild.zip and bundle.zip to the package artifact
|
||||||
|
|
||||||
- task: PublishPipelineArtifact@1
|
- task: PublishPipelineArtifact@1
|
||||||
displayName: 'Publish Build Artifacts (notarized)'
|
displayName: 'Publish Build Artifacts (notarized)'
|
||||||
inputs:
|
inputs:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче