File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed
Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change 2323
2424 - uses : actions/upload-artifact@v4
2525 with :
26- name : imcpy -sdist
26+ name : cibw -sdist
2727 path : dist/*.tar.gz
2828 build_wheels :
2929 strategy :
@@ -94,11 +94,10 @@ jobs:
9494
9595 name : Build wheel for cp${{ matrix.python }}-${{ matrix.platform_id }}-${{ matrix.manylinux_image }}
9696 runs-on : ${{ matrix.os }}
97-
9897 steps :
9998 - uses : actions/checkout@v4
10099 with :
101- submodules : ' true'
100+ submodules : true
102101
103102 # Used to host cibuildwheel
104103 - uses : actions/setup-python@v5
@@ -108,23 +107,30 @@ jobs:
108107
109108 - name : Build wheels
110109 uses : pypa/cibuildwheel@v2.23.3
110+ with :
111+ output-dir : wheelhouse
111112 env :
112113 CIBW_BUILD : cp${{ matrix.python }}-${{ matrix.platform_id }}
113- CIBW_ARCHS : all
114+ CIBW_ARCHS : auto64
114115 CIBW_MANYLINUX_X86_64_IMAGE : ${{ matrix.manylinux_image }}
116+ CIBW_MANYLINUX_AARCH64_IMAGE : ${{ matrix.manylinux_image }}
115117 CIBW_BUILD_VERBOSITY : 1
116118
117119 - uses : actions/upload-artifact@v4
118120 with :
119- name : imcpy -cp${{ matrix.python }}-${{ matrix.platform_id }}-${{ matrix.manylinux_image }}
121+ name : cibw -cp${{ matrix.python }}-${{ matrix.os }}-${{ matrix. platform_id }}- -${{ matrix.manylinux_image }}
120122 path : ./wheelhouse/*.whl
121123 upload_all :
122124 needs : [build_wheels, build_sdist]
123125 runs-on : ubuntu-latest
124126 if : (github.event_name == 'release' && github.event.action == 'published') || github.event_name == 'workflow_dispatch'
125127 steps :
126128 - uses : actions/download-artifact@v4
127- - uses : pypa/gh-action-pypi-publish@v1.12.4
129+ with :
130+ pattern : cibw-*
131+ path : dist
132+ merge-multiple : true
133+ - uses : pypa/gh-action-pypi-publish@release/v1
128134 with :
129135 user : __token__
130136 password : ${{ secrets.pypi_password }}
You can’t perform that action at this time.
0 commit comments