Skip to content

Commit f12eb3d

Browse files
authored
Update python-publish.yml
1 parent ed928b8 commit f12eb3d

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/python-publish.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,19 @@ jobs:
2525
- name: Set up Python
2626
uses: actions/setup-python@v3
2727
with:
28-
python-version: '3.x'
28+
python-version: '3.11'
29+
2930
- name: Install dependencies
3031
run: |
3132
python -m pip install --upgrade pip
3233
pip install build
34+
pip install black
35+
3336
- name: Build package
34-
run: python -m build
37+
run: |
38+
black .
39+
python setup.py sdist
40+
3541
- name: Publish package
3642
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
3743
with:

0 commit comments

Comments
 (0)