diff --git a/build-tools/automation/azure-pipelines.yaml b/build-tools/automation/azure-pipelines.yaml index b7abfa199c8..e9b5389af81 100644 --- a/build-tools/automation/azure-pipelines.yaml +++ b/build-tools/automation/azure-pipelines.yaml @@ -152,9 +152,6 @@ extends: inputs: forceReinstallCredentialProvider: true - - script: echo "##vso[task.prependpath]C:\Windows\System32\WindowsPowerShell\v1.0\" - displayName: add powershell to path - - task: DownloadPipelineArtifact@2 inputs: artifactName: $(NuGetArtifactName) diff --git a/build-tools/automation/yaml-templates/install-dotnet-tool.yaml b/build-tools/automation/yaml-templates/install-dotnet-tool.yaml index 65e9cf02243..295bf4029c4 100644 --- a/build-tools/automation/yaml-templates/install-dotnet-tool.yaml +++ b/build-tools/automation/yaml-templates/install-dotnet-tool.yaml @@ -23,5 +23,3 @@ steps: --version ${{ parameters.version }} --add-source "https://api.nuget.org/v3/index.json" -- script: echo "##vso[task.prependpath]$(Agent.ToolsDirectory)" - displayName: add $(Agent.ToolsDirectory) to path