@@ -3,6 +3,10 @@ parameters:
33 vmImage : ubuntu-16.04
44 githubConnection : release-robots-from-jupyter
55 repositoryName : robots-from-jupyter/robotlab
6+ platforms :
7+ - Linux
8+ - MacOSX
9+ - Windows
610 artifact : RobotLab
711 constructors : _artifacts/constructor
812
@@ -11,35 +15,25 @@ jobs:
1115 pool :
1216 vmImage : ${{ parameters.vmImage }}
1317 dependsOn :
14- - LinuxTest
15- - MacOSXTest
16- - WindowsTest
18+ - ${{ each platform in parameters.platforms }} :
19+ - ${{ platform }}Test
1720 - conda_win_test
1821 - conda_noarch_test
1922 condition : and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/v'))
2023 steps :
21- - task : DownloadBuildArtifacts@0
22- displayName : Fetch Linux Installer
23- inputs :
24- artifactName : ${{ parameters.artifact }} For Linux
25- downloadPath : ${{ parameters.constructors }}
26- - task : DownloadBuildArtifacts@0
27- displayName : Fetch MacOSX Installer
28- inputs :
29- artifactName : ${{ parameters.artifact }} For MacOSX
30- downloadPath : ${{ parameters.constructors }}
31- - task : DownloadBuildArtifacts@0
32- displayName : Fetch Windows Installer
33- inputs :
34- artifactName : ${{ parameters.artifact }} For Windows
35- downloadPath : ${{ parameters.releaseDir }}
24+ - ${{ each platform in parameters.platforms }} :
25+ - task : DownloadPipelineArtifact@0
26+ displayName : Fetch ${{ platform }} Installer
27+ inputs :
28+ artifactName : ${{ parameters.artifact }} For ${{ platform }}
29+ targetPath : ${{ parameters.constructors }}
3630 - script : find .
37- displayName : build hashes
31+ displayName : list files before release
3832 - script : cd ${{ parameters.constructors }} && sha256sum * >> SHA256SUMS
3933 displayName : build hashes
4034 - task : GithubRelease@0
4135 inputs :
4236 githubConnection : ${{ parameters.githubConnection }}
4337 repositoryName : ${{ parameters.repositoryName }}
44- assets : ${{ parameters.constructors }}
38+ assets : ${{ parameters.constructors }}/*
4539 isDraft : true
0 commit comments