diff --git a/build/azure-pipelines/linux/product-build-linux.yml b/build/azure-pipelines/linux/product-build-linux.yml index 6b8664e0dae..93b4651492b 100644 --- a/build/azure-pipelines/linux/product-build-linux.yml +++ b/build/azure-pipelines/linux/product-build-linux.yml @@ -1,15 +1,4 @@ steps: - - task: DownloadPipelineArtifact@2 - inputs: - artifact: CompilationOutput - path: $(System.DefaultWorkingDirectory) - - - script: | - set -e - exit 1 - displayName: Check RestoreCache - condition: and(succeeded(), ne(variables['CacheRestored-Compilation'], 'true')) - - task: NodeTool@0 inputs: versionSpec: "12.18.3" @@ -24,6 +13,12 @@ steps: azureSubscription: "vscode-builds-subscription" KeyVaultName: vscode + - task: DownloadPipelineArtifact@2 + inputs: + artifact: CompilationOutput + path: $(System.DefaultWorkingDirectory) + displayName: Download Compilation Output + - script: | set -e cat << EOF > ~/.netrc diff --git a/build/azure-pipelines/product-compile.yml b/build/azure-pipelines/product-compile.yml index ba6deeec43c..9f1dc1a5b81 100644 --- a/build/azure-pipelines/product-compile.yml +++ b/build/azure-pipelines/product-compile.yml @@ -105,5 +105,8 @@ steps: displayName: Create build condition: and(succeeded(), ne(variables['VSCODE_PUBLISH'], 'false')) - - publish: $(System.DefaultWorkingDirectory) - artifact: CompilationOutput + - task: PublishPipelineArtifact@1 + inputs: + targetPath: $(System.DefaultWorkingDirectory) + artifactName: CompilationOutput + displayName: Publish Compilation Output