From f6d86bace8c14f4cfc7d2ff4f6d1036e9a20337e Mon Sep 17 00:00:00 2001 From: Andy Jordan <2226434+andyleejordan@users.noreply.github.com> Date: Tue, 29 Oct 2024 15:14:25 -0700 Subject: [PATCH] Extract artifact from upstream pipeline (#5072) Since drop_build_main now includes the zip archive among other things. --- .pipelines/vscode-powershell-Official.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.pipelines/vscode-powershell-Official.yml b/.pipelines/vscode-powershell-Official.yml index 54b2a3564e..7e6b17ce50 100644 --- a/.pipelines/vscode-powershell-Official.yml +++ b/.pipelines/vscode-powershell-Official.yml @@ -96,7 +96,11 @@ extends: specificBuildWithTriggering: true branchName: refs/heads/main artifact: drop_build_main - targetPath: $(Build.SourcesDirectory)/modules + - task: ExtractFiles@1 + displayName: Extract PowerShellEditorServices + inputs: + archiveFilePatterns: $(Pipeline.Workspace)/PowerShellEditorServices.zip + destinationFolder: $(Build.SourcesDirectory)/modules - pwsh: | Register-PSRepository -Name CFS -SourceLocation "https://pkgs.dev.azure.com/powershell/PowerShell/_packaging/powershell/nuget/v2" -InstallationPolicy Trusted Install-Module -Repository CFS -Name Microsoft.PowerShell.PSResourceGet @@ -154,7 +158,11 @@ extends: specificBuildWithTriggering: true branchName: refs/heads/main artifact: drop_build_main - targetPath: $(Build.SourcesDirectory)/modules + - task: ExtractFiles@1 + displayName: Extract PowerShellEditorServices + inputs: + archiveFilePatterns: $(Pipeline.Workspace)/PowerShellEditorServices.zip + destinationFolder: $(Build.SourcesDirectory)/modules - pwsh: | Register-PSRepository -Name CFS -SourceLocation "https://pkgs.dev.azure.com/powershell/PowerShell/_packaging/powershell/nuget/v2" -InstallationPolicy Trusted Install-Module -Repository CFS -Name Microsoft.PowerShell.PSResourceGet