From c66c4313ea5f0097146f86f377b657041339873e Mon Sep 17 00:00:00 2001 From: SWHL Date: Tue, 15 Oct 2024 08:28:26 +0800 Subject: [PATCH] ci: Fixed python env error --- .github/workflows/AutoPushToPypi.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/AutoPushToPypi.yml b/.github/workflows/AutoPushToPypi.yml index b4b1c49..2850131 100644 --- a/.github/workflows/AutoPushToPypi.yml +++ b/.github/workflows/AutoPushToPypi.yml @@ -39,9 +39,9 @@ jobs: - name: Run setup.py run: | - pip install wheel get_pypi_latest_version + pip install wheel get_pypi_latest_version --break-system-packages - python -m pip install --upgrade pip + python -m pip install --upgrade pip --break-system-packages python setup.py bdist_wheel ${{ github.ref_name }} - name: Publish distribution 📦 to PyPI