From 456c8c380cf4c743877e3b4a5cf51afc1c9a8416 Mon Sep 17 00:00:00 2001 From: MaksimZhukov Date: Tue, 22 Dec 2020 03:38:12 +0300 Subject: [PATCH 1/2] Update the brew upgrade command --- azure-pipelines/templates/build-job.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines/templates/build-job.yml b/azure-pipelines/templates/build-job.yml index 084e308..7feadef 100644 --- a/azure-pipelines/templates/build-job.yml +++ b/azure-pipelines/templates/build-job.yml @@ -16,7 +16,7 @@ jobs: TargetType: inline script: | brew update - brew cask upgrade powershell + brew upgrade --cask powershell - task: PowerShell@2 displayName: 'Build Python $(VERSION)' From f4137da2f9fcc6b8306eb1dfa865504b023448ab Mon Sep 17 00:00:00 2001 From: MaksimZhukov Date: Tue, 22 Dec 2020 03:41:24 +0300 Subject: [PATCH 2/2] Remove temporary step --- azure-pipelines/templates/build-job.yml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/azure-pipelines/templates/build-job.yml b/azure-pipelines/templates/build-job.yml index 7feadef..0fef97d 100644 --- a/azure-pipelines/templates/build-job.yml +++ b/azure-pipelines/templates/build-job.yml @@ -8,16 +8,6 @@ jobs: - checkout: self submodules: true -# We need this temporary step to have a consistent version of PowerShell on all images. - - task: PowerShell@2 - displayName: 'Update PowerShell version for macOS' - condition: eq(variables['Platform'], 'darwin') - inputs: - TargetType: inline - script: | - brew update - brew upgrade --cask powershell - - task: PowerShell@2 displayName: 'Build Python $(VERSION)' inputs: