Skip to content

Commit

Permalink
One-by-one
Browse files Browse the repository at this point in the history
  • Loading branch information
CreepPork committed Mar 15, 2019
1 parent 9c388b4 commit 451e681
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,20 @@ jobs:
mv $(ls *.zip | head -n1) $(Build.ArtifactStagingDirectory)/$(ls *.zip | head -n1)
displayName: 'Build with armake'
- task: PublishBuildArtifacts@0
inputs:
artifactName: releaseZip
pathtoPublish: $(Build.ArtifactStagingDirectory)

- job: Release

dependsOn:
- Test
- Build

steps:
- task: DownloadBuildArtifacts@0
inputs:
buildType: current
downloadType: single
artifactName: releaseZip
pathtoPublish: $(Build.ArtifactStagingDirectory)

- script: |
cd $(Build.ArtifactStagingDirectory)/releaseZip
curl -F 'zip=@$(ls *.zip | head -n1)' -F 'accessToken=$(access.token)' $(access.url)
Expand Down

0 comments on commit 451e681

Please sign in to comment.