diff --git a/.pipelines/templates/downloadDotnetEarlyAccess.yml b/.pipelines/templates/downloadDotnetEarlyAccess.yml index 2a9f3ca81..387b3130a 100644 --- a/.pipelines/templates/downloadDotnetEarlyAccess.yml +++ b/.pipelines/templates/downloadDotnetEarlyAccess.yml @@ -13,8 +13,10 @@ jobs: value: ${{ parameters.DotnetRuntimeVersion }} - name: DOTNET_SDK_VERSION value: ${{ parameters.DotnetSdkVersion }} - - name: destinationPath + - name: ob_outputDirectory value: '$(Build.ArtifactStagingDirectory)/pkgs' + - name: destinationPath + value: '$(ob_outputDirectory)' pool: name: PowerShell1ES diff --git a/.pipelines/templates/stages/PowerShell-Packages-Stages.yml b/.pipelines/templates/stages/PowerShell-Packages-Stages.yml index 45862701b..2c84885e4 100644 --- a/.pipelines/templates/stages/PowerShell-Packages-Stages.yml +++ b/.pipelines/templates/stages/PowerShell-Packages-Stages.yml @@ -38,6 +38,9 @@ stages: displayName: 'Skip early access .NET setup' pool: type: windows + variables: + - name: ob_outputDirectory + value: '$(Build.ArtifactStagingDirectory)/ONEBRANCH_ARTIFACT' steps: - pwsh: Write-Host 'IsEarlyAccess is false; skipping early access .NET setup.' - stage: mac_package diff --git a/.pipelines/templates/stages/PowerShell-Release-Stages.yml b/.pipelines/templates/stages/PowerShell-Release-Stages.yml index b5707d3ba..d922b224b 100644 --- a/.pipelines/templates/stages/PowerShell-Release-Stages.yml +++ b/.pipelines/templates/stages/PowerShell-Release-Stages.yml @@ -41,6 +41,9 @@ stages: displayName: 'Skip early access .NET download' pool: type: windows + variables: + - name: ob_outputDirectory + value: '$(Build.ArtifactStagingDirectory)/ONEBRANCH_ARTIFACT' steps: - pwsh: Write-Host 'IsEarlyAccess is false; skipping early access .NET download.' - stage: validateSdk