Skip to content

Commit fdcb8e9

Browse files
committed
ci: update release pipeline
1 parent 4bc7cd6 commit fdcb8e9

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/release.yml

+4-7
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,18 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v3
14-
15-
- name: Set up Python 3.x
14+
- name: Set up Python 3.11
1615
uses: actions/setup-python@v4
1716
with:
18-
python-version: "3.x"
19-
17+
python-version: "3.11"
2018
- name: Install release dependencies
2119
run: |
2220
python -m pip install --upgrade pip
23-
pip install setuptools wheel twine
24-
21+
pip install build twine
2522
- name: Build and publish package
2623
env:
2724
TWINE_USERNAME: ${{ secrets.PYPI_STACUTILS_USERNAME }}
2825
TWINE_PASSWORD: ${{ secrets.PYPI_STACUTILS_PASSWORD }}
2926
run: |
30-
python setup.py sdist bdist_wheel
27+
python -m build
3128
twine upload dist/*

0 commit comments

Comments
 (0)