From dc0f46270f63bdb179950cff76142b0e6fe4ac16 Mon Sep 17 00:00:00 2001 From: Charlie Crane Date: Tue, 14 May 2024 14:50:06 +0100 Subject: [PATCH] #2457 - Adding a line to build pipeline to purge pip cache. Seeing if this could resolve hash error seen on some pipeline failures --- .azure/azure-ci-build-pipeline.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.azure/azure-ci-build-pipeline.yaml b/.azure/azure-ci-build-pipeline.yaml index 51ef2767..732856b7 100644 --- a/.azure/azure-ci-build-pipeline.yaml +++ b/.azure/azure-ci-build-pipeline.yaml @@ -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' )