Skip to content
Snippets Groups Projects
Unverified Commit 573a1e76 authored by Flame Sage's avatar Flame Sage Committed by GitHub
Browse files

apt update before upgrade. Use apt-get.

Identified a bug in the script which uses the azure image when attempting to upgrade python3-pip.
Package index was out of date because apt-get update was not ran before attempting the upgrade.
parent e1981b8b
No related branches found
No related tags found
No related merge requests found
...@@ -10,7 +10,7 @@ jobs: ...@@ -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 -y upgrade 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')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment