Skip to content

Commit 4d3a3b6

Browse files
liruilong940607Ruilong Li
andauthored
Workflow fix (#424)
* fix workflow * fix * fix --------- Co-authored-by: Ruilong Li <397653553@qq.com>
1 parent b6b43e4 commit 4d3a3b6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,19 @@ jobs:
7878
name: Upload to PyPi
7979
needs: [build_wheels]
8080
runs-on: ubuntu-latest
81+
environment: production
8182
steps:
8283

8384
- uses: actions/download-artifact@v3
8485
with:
8586
name: pypi_packages
8687
path: dist
8788

89+
- name: Set up Python
90+
uses: actions/setup-python@v4
91+
with:
92+
python-version: '3.7'
93+
8894
- name: Install dependencies
8995
run: |
9096
python -m pip install build twine

0 commit comments

Comments
 (0)