From 76ec677b3203213c3cfbc4d5eb4c4d4174471919 Mon Sep 17 00:00:00 2001 From: Loren Eteval Date: Mon, 2 Jun 2025 00:01:46 +0800 Subject: [PATCH] Update package release workflow Signed-off-by: Loren Eteval --- .github/workflows/deploy-pypi.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy-pypi.yml b/.github/workflows/deploy-pypi.yml index e1bba48..69f8f9e 100644 --- a/.github/workflows/deploy-pypi.yml +++ b/.github/workflows/deploy-pypi.yml @@ -24,17 +24,17 @@ jobs: run: | python3 -m venv .venv source .venv/bin/activate - python3 -c "import sys; print(sys.version)" - python3 -m pip install --upgrade pip + python -c "import sys; print(sys.version)" + python -m pip install --upgrade pip - name: Download Python dependencies & latest asset files run: | - python3 -m pip install setuptools wheel - python3 -m pip install -r requirements.txt - python3 -m pip install requests - python3 Deploy.py --download + python -m pip install setuptools wheel + python -m pip install -r requirements.txt + python -m pip install requests + python Deploy.py --download - name: Build a binary wheel and a source tarball run: | - python3 setup.py sdist bdist_wheel + python setup.py sdist bdist_wheel - name: Store the distribution packages uses: actions/upload-artifact@v4 with: