File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -73,14 +73,12 @@ jobs:
7373
7474 - name : Build wheels
757576- env :
77- CIBW_OUTPUT_DIR : ./dist
7876
7977 - name : Upload wheels
8078 uses : actions/upload-artifact@v4
8179 with :
8280 name : wheels-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.p_ver }}
83- path : ./dist /*.whl
81+ path : ./wheelhouse /*.whl
8482
8583 build_sdist :
8684 name : Build sdist
@@ -104,25 +102,26 @@ jobs:
104102 python-version : ${{ matrix.python-version }}
105103
106104 - name : Build sdist
107- run : pipx run build --sdist
105+ run : pipx run build --sdist --output-dir wheelhouse
108106
109107 - name : Upload sdist package
110108 uses : actions/upload-artifact@v4
111109 with :
112110 name : wheels-source
113- path : dist /*.tar.gz
111+ path : wheelhouse /*.tar.gz
114112
115113 - name : Build building extension from sdist package
116114 run : |
117- cd ./dist
115+ mkdir -p ./wheelhouse
116+ cd ./wheelhouse
118117 tar -xzf blosc2-*.tar.gz
119118 cd ./blosc2-*/
120119 pip install pip --upgrade
121120 pip install --break-system-packages -e .[test]
122121
123122 - name : Test sdist package with pytest
124123 run : |
125- cd ./dist /blosc2-*/
124+ cd ./wheelhouse /blosc2-*/
126125 pytest
127126
128127 upload_pypi :
@@ -134,7 +133,7 @@ jobs:
134133 - uses : actions/download-artifact@v4
135134 with :
136135 name : wheels
137- path : ./dist
136+ path : ./wheelhouse
138137 pattern : wheels-* # Download the wheels artifact
139138 merge-multiple : true # Merge all the wheels artifacts into one directory
140139
You can’t perform that action at this time.
0 commit comments