Skip to content

Commit 25c4192

Browse files
committed
Update workflow.yaml
1 parent 36408d7 commit 25c4192

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/workflow.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,22 @@ jobs:
3636
python -m pip install --upgrade pip
3737
pip install -r requirements.txt
3838
39-
# Step 5: Build distribution files
39+
# Step 5: Install build
40+
- name: Install build
41+
run: |
42+
python -m pip install --upgrade build
43+
44+
# Step 6: Build distribution files
4045
- name: Build distribution
4146
run: |
42-
python setup.py sdist bdist_wheel
47+
python -m build
4348
44-
# Step 6: Install twine
49+
# Step 7: Install twine
4550
- name: Install twine
4651
run: |
4752
python -m pip install --upgrade twine
4853
49-
# Step 7: Upload to Test PyPI
54+
# Step 8: Upload to Test PyPI
5055
- name: Upload
5156
env:
5257
TWINE_USERNAME: ${{ secrets.USERNAME }}

0 commit comments

Comments
 (0)