Merge pull request #2835 from chris062689/master

CI Fix (Azure/Testing) - apt update before upgrade. Use apt-get.
This commit is contained in:
David 2019-09-04 14:37:29 +10:00 committed by GitHub
commit 922c7f4e51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ jobs:
BuildSuffix: 'windows-testing' BuildSuffix: 'windows-testing'
ScriptFolder: 'windows' ScriptFolder: 'windows'
steps: steps:
- script: sudo apt upgrade python3-pip && pip install requests urllib3 - script: sudo apt-get update && sudo apt-get --only-upgrade -y install python3-pip && pip install requests urllib3
displayName: 'Prepare Environment' displayName: 'Prepare Environment'
- task: PythonScript@0 - task: PythonScript@0
condition: eq(variables['Build.Reason'], 'PullRequest') condition: eq(variables['Build.Reason'], 'PullRequest')