Skip to content

Commit e4a709f

Browse files
committed
fix pypi upload
1 parent 81d7510 commit e4a709f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/lint.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ jobs:
7979
steps:
8080
- name: Check out repository code
8181
uses: actions/checkout@v3
82+
- name: Set up Python 3.7
83+
uses: actions/setup-python@v4
84+
with:
85+
python-version: 3.7
8286
- name: Deps install
8387
run: |
8488
pip install -r dev-requirements.txt
@@ -89,5 +93,8 @@ jobs:
8993
run: |
9094
python setup.py sdist
9195
- name: Upload to PyPi
96+
env:
97+
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
98+
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
9299
run: |
93100
twine upload dist/*

0 commit comments

Comments
 (0)