[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:
Rolf Bjarne Kvinge 2023-11-09 09:42:59 +01:00 коммит произвёл GitHub
Родитель c309661cca
Коммит 3077ee9e62
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 19 добавлений и 0 удалений

Просмотреть файл

@ -130,6 +130,25 @@ jobs:
artifactName: '${{ parameters.uploadPrefix }}package-internal'
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
displayName: 'Publish Build Artifacts (notarized)'
inputs: