Steve Dower | 21a92f8 | 2019-06-14 08:29:20 -0700 | [diff] [blame] | 1 | jobs: |
| 2 | - job: Publish_Store |
| 3 | displayName: Publish Store packages |
| 4 | condition: and(succeeded(), eq(variables['DoMSIX'], 'true')) |
| 5 | |
| 6 | pool: |
Steve Dower | 03153dd | 2020-02-29 00:21:46 +0000 | [diff] [blame] | 7 | vmImage: windows-2019 |
Steve Dower | 21a92f8 | 2019-06-14 08:29:20 -0700 | [diff] [blame] | 8 | |
| 9 | workspace: |
| 10 | clean: all |
| 11 | |
| 12 | steps: |
| 13 | - checkout: none |
| 14 | |
| 15 | - task: DownloadBuildArtifacts@0 |
| 16 | displayName: 'Download artifact: msixupload' |
Steve Dower | 994a3b8 | 2019-07-13 11:46:16 +0200 | [diff] [blame] | 17 | condition: and(succeeded(), not(variables['BuildToPublish'])) |
Steve Dower | 21a92f8 | 2019-06-14 08:29:20 -0700 | [diff] [blame] | 18 | inputs: |
| 19 | artifactName: msixupload |
| 20 | downloadPath: $(Build.BinariesDirectory) |
| 21 | |
Steve Dower | 994a3b8 | 2019-07-13 11:46:16 +0200 | [diff] [blame] | 22 | - task: DownloadBuildArtifacts@0 |
| 23 | displayName: 'Download artifact: msixupload' |
| 24 | condition: and(succeeded(), variables['BuildToPublish']) |
| 25 | inputs: |
| 26 | artifactName: msixupload |
| 27 | downloadPath: $(Build.BinariesDirectory) |
| 28 | buildType: specific |
| 29 | project: cpython |
| 30 | pipeline: Windows-Release |
| 31 | buildVersionToDownload: specific |
| 32 | buildId: $(BuildToPublish) |
| 33 | |
| 34 | # TODO: eq(variables['SigningCertificate'], variables['__RealSigningCertificate']) |
Steve Dower | 21a92f8 | 2019-06-14 08:29:20 -0700 | [diff] [blame] | 35 | # If we are not real-signed, DO NOT PUBLISH |