File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 PIP_DISABLE_PIP_VERSION_CHECK : ' 1'
1414 PIP_NO_PYTHON_VERSION_WARNING : ' 1'
1515 PYTHON_LATEST : ' 3.13'
16-
17- # For re-actors/checkout-python-sdist
18- sdist-artifact : python-package-distributions
1916jobs :
2017 lint :
2118 name : Check linting
9895 fetch-depth : 0
9996 - name : Build wheels
10097 uses : pypa/cibuildwheel@v2.10.1
101- - uses : actions/upload-artifact@v3
98+ - uses : actions/upload-artifact@v4
10299 with :
100+ name : wheel-artifacts
103101 path : ./wheelhouse/*.whl
104102 build_sdist :
105103 name : 📦 Build the source distribution
@@ -116,9 +114,10 @@ jobs:
116114 run : >
117115 pip3 install pkgconfig cython --upgrade &&
118116 python3 setup.py sdist
119- - uses : actions/upload-artifact@v3
117+ - uses : actions/upload-artifact@v4
120118 name : Upload build artifacts
121119 with :
120+ name : sdist-artifact
122121 path : dist/*.tar.gz
123122 publish :
124123 name : 📦 Publish to PyPI
@@ -132,8 +131,13 @@ jobs:
132131 - name : Download the sdist artifact
133132 uses : actions/download-artifact@v4.1.7
134133 with :
135- name : artifact
134+ name : sdist- artifact
136135 path : dist
136+ - name : Download the wheel artifact
137+ uses : actions/download-artifact@v4.1.7
138+ with :
139+ pattern : " *artifact*"
140+ merge-multiple : true
137141 - name : Publish package to PyPI
138142 uses : pypa/gh-action-pypi-publish@release/v1
139143 with :
You can’t perform that action at this time.
0 commit comments