Skip to content

Commit 5eda6f0

Browse files
committed
update action
1 parent 335b783 commit 5eda6f0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/pypi_publish.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,11 @@ jobs:
1616
python-version: '3.x'
1717
- name: Install dependencies
1818
run: |
19-
python -m pip install --upgrade pip
20-
pip install twine
19+
python -m pip install --upgrade pip build twine
2120
- name: Build and publish
2221
env:
2322
TWINE_USERNAME: __token__
2423
TWINE_PASSWORD: ${{ secrets.python_openhab_github_deploy }}
2524
run: |
26-
pip wheel --no-deps -w dist/ .
25+
python -m build
2726
twine upload dist/*

0 commit comments

Comments
 (0)