From 8101f49a2144fee5074277adb8799f6ff18d4b03 Mon Sep 17 00:00:00 2001 From: Marek Wolan Date: Mon, 3 Jul 2023 12:44:01 +0000 Subject: [PATCH] Updated azure-ci-build-pipeline.yaml --- .azure/azure-ci-build-pipeline.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.azure/azure-ci-build-pipeline.yaml b/.azure/azure-ci-build-pipeline.yaml index 5ce13919..06e44f48 100644 --- a/.azure/azure-ci-build-pipeline.yaml +++ b/.azure/azure-ci-build-pipeline.yaml @@ -55,12 +55,15 @@ steps: displayName: 'Build PrimAITE' - script: | -- ${{ if eq( variables['Agent.OS'], 'Linux') }}: PRIMAITE_WHEEL=$(ls ./dist/primaite*.whl) python -m pip install $PRIMAITE_WHEEL[dev] -- ${{ elseif eq( variables['Agent.OS'], 'Windows_NT') }}: + displayName: 'Install PrimAITE' + condition: eq( variables['Agent.OS'], 'Linux' ) + +- script: | forfiles /p dist\ /m *.whl /c "cmd /c python -m pip install @file" displayName: 'Install PrimAITE' + condition: eq( variables['Agent.OS'], 'Windows_NT' ) - script: | primaite setup