#2457 - Adding a line to build pipeline to purge pip cache. Seeing if this could resolve hash error seen on some pipeline failures

This commit is contained in:
Charlie Crane
2024-05-14 14:50:06 +01:00
parent f66d9d5817
commit dc0f46270f

View File

@@ -87,6 +87,7 @@ stages:
condition: or(eq( variables['Agent.OS'], 'Linux' ), eq( variables['Agent.OS'], 'Darwin' ))
- script: |
pip cache purge
forfiles /p dist\ /m *.whl /c "cmd /c python -m pip install --no-cache-dir @file[dev]"
displayName: 'Install PrimAITE'
condition: eq( variables['Agent.OS'], 'Windows_NT' )