Skip to content

Commit 337125f

Browse files
committed
Fix workflow.yaml
1 parent f98bf43 commit 337125f

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

.github/workflows/workflow.yaml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,27 @@ jobs:
2323
uses: actions/setup-python@v4
2424
with:
2525
python-version: '3.11.x'
26-
26+
2727
# install dependencies
2828
- name: Install dependencies
2929
run: |
3030
python -m pip install --upgrade pip
3131
pip install -r requirements.txt
32-
33-
#build dist files
32+
33+
# build dist files
3434
- name: Build distribution
3535
run: |
36-
python3 setup.py sdist bdist_wheel
37-
38-
#upload
36+
python setup.py sdist bdist_wheel
37+
38+
# install twine
39+
- name: Install twine
40+
run: |
41+
python -m pip install --upgrade twine
42+
43+
# upload
3944
- name: Upload
4045
env:
4146
TWINE_USERNAME: ${{ secrets.USERNAME }}
42-
TWINE_PASSWORD: ${{ secrets.API_KEY }}
47+
TWINE_PASSWORD: ${{ secrets.API_KEY }}
48+
run: |
49+
twine upload --repository-url https://test.pypi.org/legacy/ dist/*

0 commit comments

Comments
 (0)