Skip to content
This repository has been archived by the owner on Aug 23, 2021. It is now read-only.

Commit

Permalink
Add DownloadPipelineArtifact task
Browse files Browse the repository at this point in the history
  • Loading branch information
ljvmiranda921 committed Jan 4, 2020
1 parent ef04e45 commit f3251f3
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,18 @@ stages:
jobs:
- job: Publish
steps:
- task: DownloadPipelineArtifact@2
- script: |
mkdir artifacts
cp '$(Pipeline.Workspace)'/barometer-*/* artifacts
ls artifacts/*
displayName: Copy all artifacts
- task: GithubRelease@0
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/')
inputs:
gitHubConnection: barometer-release
repositoryName: '$(build.Repository.Name)'
assets: artifacts/*
addChangeLog: true
compareWith: 'lastRelease'
displayName: 'Create Github release'
displayName: 'Create Github release'

0 comments on commit f3251f3

Please sign in to comment.