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'
ScriptFolder: 'windows'
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'
- task: PythonScript@0
condition: eq(variables['Build.Reason'], 'PullRequest')