summaryrefslogtreecommitdiffstats
path: root/.ci/templates/retrieve-artifact-source.yml
blob: 47d217e7bd094fdf0937ecf317c4fb984381bb8a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
steps:
- checkout: none
- task: DownloadPipelineArtifact@2
  displayName: 'Download Source'
  inputs:
    artifactName: 'yuzu-$(BuildName)-source'
    buildType: 'current'
    targetPath: '$(Build.ArtifactStagingDirectory)'
- script: rm -rf $(System.DefaultWorkingDirectory) && mkdir $(System.DefaultWorkingDirectory)
  displayName: 'Clean Working Directory'
- task: ExtractFiles@1
  displayName: 'Prepare Source'
  inputs:
    archiveFilePatterns: '$(Build.ArtifactStagingDirectory)/*.7z'
    destinationFolder: '$(System.DefaultWorkingDirectory)'
    cleanDestinationFolder: false