summaryrefslogtreecommitdiffstats
path: root/.ci/templates/retrieve-artifact-source.yml
blob: b4cce589016d9ddf71aa3b9ce705acd8178d0b54 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# SPDX-FileCopyrightText: 2019 yuzu Emulator Project
# SPDX-License-Identifier: GPL-2.0-or-later

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