Skip to content

Commit

Permalink
#16: use template for artifact path
Browse files Browse the repository at this point in the history
  • Loading branch information
bollwyvl committed Sep 20, 2019
1 parent 9f260c9 commit 2c977cd
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions ci/job.release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ parameters:
githubConnection: release-robots-from-jupyter
repositoryName: robots-from-jupyter/robotlab
artifact: RobotLab
constructors: _artifacts/constructor

jobs:
- job: Deploy
Expand All @@ -21,22 +22,24 @@ jobs:
displayName: Fetch Linux Installer
inputs:
artifactName: ${{ parameters.artifact }} For Linux
downloadPath: _artifacts/constructor
downloadPath: ${{ parameters.constructors }}
- task: DownloadBuildArtifacts@0
displayName: Fetch MacOSX Installer
inputs:
artifactName: ${{ parameters.artifact }} For MacOSX
downloadPath: _artifacts/constructor
downloadPath: ${{ parameters.constructors }}
- task: DownloadBuildArtifacts@0
displayName: Fetch Windows Installer
inputs:
artifactName: ${{ parameters.artifact }} For Windows
downloadPath: _artifacts/constructor
- script: cd _artifacts/constructor && sha256sum * >> SHA256SUMS
downloadPath: ${{ parameters.releaseDir }}
- script: find .
displayName: build hashes
- script: cd ${{ parameters.constructors }} && sha256sum * >> SHA256SUMS
displayName: build hashes
- task: GithubRelease@0
inputs:
githubConnection: ${{ parameters.githubConnection }}
repositoryName: ${{ parameters.repositoryName }}
assets: _artifacts/constructor
assets: ${{ parameters.constructors }}
isDraft: true

0 comments on commit 2c977cd

Please sign in to comment.