summaryrefslogtreecommitdiffstats
path: root/.ci/templates/retrieve-artifact-source.yml
diff options
context:
space:
mode:
authorFlame Sage <chris062689@gmail.com>2019-07-14 03:35:37 +0200
committerGitHub <noreply@github.com>2019-07-14 03:35:37 +0200
commitb9e1db13121fae2490ddc71f49ff93127c342d86 (patch)
treed94580d1330a76e839de6e413295bf5bb4d6abe4 /.ci/templates/retrieve-artifact-source.yml
parentMerge pull request #2725 from ogniK5377/mult-audbuffer (diff)
parentFinalize Azure Pipelines Definitions (diff)
downloadyuzu-b9e1db13121fae2490ddc71f49ff93127c342d86.tar
yuzu-b9e1db13121fae2490ddc71f49ff93127c342d86.tar.gz
yuzu-b9e1db13121fae2490ddc71f49ff93127c342d86.tar.bz2
yuzu-b9e1db13121fae2490ddc71f49ff93127c342d86.tar.lz
yuzu-b9e1db13121fae2490ddc71f49ff93127c342d86.tar.xz
yuzu-b9e1db13121fae2490ddc71f49ff93127c342d86.tar.zst
yuzu-b9e1db13121fae2490ddc71f49ff93127c342d86.zip
Diffstat (limited to '.ci/templates/retrieve-artifact-source.yml')
-rw-r--r--.ci/templates/retrieve-artifact-source.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.ci/templates/retrieve-artifact-source.yml b/.ci/templates/retrieve-artifact-source.yml
new file mode 100644
index 000000000..47d217e7b
--- /dev/null
+++ b/.ci/templates/retrieve-artifact-source.yml
@@ -0,0 +1,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 \ No newline at end of file