diff --git a/.github/actions/setup/action.yaml b/.github/actions/setup/action.yaml index b418f6d1df..41e5db55a9 100644 --- a/.github/actions/setup/action.yaml +++ b/.github/actions/setup/action.yaml @@ -50,9 +50,9 @@ runs: run: | python3 -m pip install -U pip pip3 install -U invoke wheel - pip3 install uv==0.1.45 - - name: Set the VIRTUAL_ENV variable for uv to work - run: echo "VIRTUAL_ENV=${Python_ROOT_DIR}" >> $GITHUB_ENV + pip3 install 'uv<0.3.0' + - name: Allow uv to use the system Python by default + run: echo "UV_SYSTEM_PYTHON=1" >> $GITHUB_ENV shell: bash - name: Install Specific Python Dependencies if: ${{ inputs.pip-dependency }} @@ -89,10 +89,8 @@ runs: - name: Run invoke install if: ${{ inputs.install == 'true' }} shell: bash - # run: invoke install --uv - run: invoke install + run: invoke install --uv - name: Run invoke update if: ${{ inputs.update == 'true' }} shell: bash - # run: invoke update --uv - run: invoke update + run: invoke update --uv