File tree Expand file tree Collapse file tree 1 file changed +16
-3
lines changed
Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -18,15 +18,28 @@ jobs:
1818 - name : Setup Python
1919 uses : actions/setup-python@v5
2020 with :
21- python-version : " 3.x "
21+ python-version : " 3.10 "
2222
2323 - name : Install dependencies
2424 run : |
2525 python -m pip install --upgrade pip
26- python -m pip install --upgrade setuptools wheel twine
26+ python -m pip install --upgrade build setuptools wheel twine
27+
2728 - name : Build wheel
2829 run : |
29- python setup.py build bdist_wheel
30+ python -m build --wheel
31+
32+ # Upload the built pip packages so we can inspect them
33+ - name : Upload packages.
34+ uses : actions/upload-artifact@v4
35+ with :
36+ name : pip-packages
37+ path : |
38+ dist/casement-*.whl
39+ dist/casement-*.tar.gz
40+ # This is only used if there is a problem with the next step
41+ retention-days : 1
42+
3043 - name : Publish to PyPI
3144 env :
3245 TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
You can’t perform that action at this time.
0 commit comments