From 957b26f9fde8b0082c4a58858d468e78c35a4ab3 Mon Sep 17 00:00:00 2001 From: Yunze Xu Date: Fri, 13 Dec 2024 16:33:44 +0800 Subject: [PATCH] fix --- .github/workflows/ci-pr-validation.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-pr-validation.yaml b/.github/workflows/ci-pr-validation.yaml index e943e9e..6eb510c 100644 --- a/.github/workflows/ci-pr-validation.yaml +++ b/.github/workflows/ci-pr-validation.yaml @@ -176,12 +176,13 @@ jobs: path: .pulsar-mac-build/deps/install key: ${{matrix.py.version_long}}-${{ hashFiles('dependencies.yaml') }}-${{ hashFiles('pkg/mac/*') }} - - name: Install Python deps - run: pip3 install -U pyyaml - - name: Build dependencies if: steps.cache-deps.outputs.cache-hit != 'true' - run: pkg/mac/build-dependencies.sh ${{matrix.py.version}} ${{matrix.py.version_long}} + run: | + python3 -m venv venv + source venv/bin/activate + python3 -m pip install pyyaml setuptools + pkg/mac/build-dependencies.sh ${{matrix.py.version}} ${{matrix.py.version_long}} - name: Pulsar C++ cache uses: actions/cache@v3