Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
c
  • Loading branch information
jianzfb authored Apr 21, 2023
1 parent 6a8ec5c commit ef4b731
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,15 @@ jobs:
# 安装依赖
- name: Install dependencies
run: |
python3 -m pip install -r requirements.txt --use-pep517
python3 -m pip install setuptools wheel twine
pip3 install --upgrade pip setuptools wheel
pip3 install -r requirements.txt
pip3 install setuptools wheel twine
# 构建和发布
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist
python3 setup.py sdist
twine upload dist/*

0 comments on commit ef4b731

Please sign in to comment.