From 4d3a3b69db4de0326f983ccf7b7b255271a17b01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ruilong=20Li=28=E6=9D=8E=E7=91=9E=E9=BE=99=29?= Date: Thu, 26 Sep 2024 22:29:58 -0700 Subject: [PATCH] Workflow fix (#424) * fix workflow * fix * fix --------- Co-authored-by: Ruilong Li <397653553@qq.com> --- .github/workflows/publish.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9dd3167d..c9a52d57 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -78,6 +78,7 @@ jobs: name: Upload to PyPi needs: [build_wheels] runs-on: ubuntu-latest + environment: production steps: - uses: actions/download-artifact@v3 @@ -85,6 +86,11 @@ jobs: name: pypi_packages path: dist + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.7' + - name: Install dependencies run: | python -m pip install build twine