From f5ef438b7d87a305a612b73720345d25acfc27ad Mon Sep 17 00:00:00 2001 From: Philip Gao Date: Fri, 20 Oct 2023 08:55:54 +0000 Subject: [PATCH] get items --- .github/workflows/promptflow-replay-test.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/promptflow-replay-test.yml b/.github/workflows/promptflow-replay-test.yml index f469444cf51..36a306d29fa 100644 --- a/.github/workflows/promptflow-replay-test.yml +++ b/.github/workflows/promptflow-replay-test.yml @@ -75,11 +75,8 @@ jobs: python -m pip install --upgrade pip python -m pip install --upgrade setuptools python -m pip install --upgrade wheel - ls - $packages = Get-ChildItem . -Filter *.whl - foreach ($package in $packages) { - python -m pip install $package.FullName - } + gci . -Recurse | % {if ($_.Name.Contains('.whl')) {python -m pip install $_.FullName}} + pip freeze - name: Azure Login uses: azure/login@v1 with: