Skip to content

Commit

Permalink
Use DownloadPipelineArtifact@2. Refer to downloaded files in GithubRe…
Browse files Browse the repository at this point in the history
…lease@0
  • Loading branch information
KarlLevik committed Aug 11, 2021
1 parent 0ba8683 commit c6dcd8b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,13 @@ stages:
inputs:
targetPath: $(System.DefaultWorkingDirectory)/target
artifactName: jars
artifactType: filepath
fileSharePath: '/jars'
- task: DownloadPipelineArtifact@2
inputs:
artifact: jars
- task: GithubRelease@0
displayName: ‘Create GitHub Release’
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/v'))
inputs:
githubConnection: KarlConnection
repositoryName: DiamondLightSource/gda-ispyb-api
assets: '/jars/ispyb-api-*.jar'
assets: '$(Pipeline.Workspace)/ispyb-api-*.jar'

0 comments on commit c6dcd8b

Please sign in to comment.