@@ -127,52 +127,52 @@ jobs:
127127 name : cibw-wheels-${{ matrix.os }}-${{ matrix.cibw_archs }}
128128 path : ./wheelhouse/*.whl
129129 if-no-files-found : error
130+
131+ # make-sdist:
132+ # name: Make source distribution
133+ # runs-on: "ubuntu-latest"
130134 #
131- # # make-sdist:
132- # # name: Make source distribution
133- # # runs-on: "ubuntu-latest"
134- # #
135- # # steps:
136- # # - name: Check out repository
137- # # uses: actions/checkout@v4
138- # # with:
139- # # fetch-depth: 0
140- # #
141- # # - uses: ./.github/actions/setup
142- # # with:
143- # # python-version: ${{ matrix.python-version }}
144- # # uv-dependency-install-flags: "--all-extras --group dev"
145- # #
146- # # - name: Create source distribution
147- # # run: uv build --sdist
148- # #
149- # # - name: Upload the source distribution artefact
150- # # uses: actions/upload-artifact@v4
151- # # with:
152- # # name: cibw-sdist
153- # # path: dist/*.tar.gz
154- #
155- # deploy-pypi:
156- # # TODO: turn back on
157- # # needs: [ build-wheels, make-sdist ]
158- # needs: [build-wheels]
159- # # Having an environment for deployment is strongly recommend by PyPI
160- # # https://docs.pypi.org/trusted-publishers/adding-a-publisher/#github-actions
161- # # You can comment this line out if you don't want it.
162- # # # TODO: turn back on when we only run this on main
163- # # environment: deploy
164- # # permissions:
165- # # # this permission is mandatory for trusted publishing with PyPI
166- # # id-token: write
167- # runs-on: ubuntu-latest
168135 # steps:
169- # - name: Download artefacts
170- # uses: actions/download-artifact@v5
136+ # - name: Check out repository
137+ # uses: actions/checkout@v4
138+ # with:
139+ # fetch-depth: 0
140+ #
141+ # - uses: ./.github/actions/setup
142+ # with:
143+ # python-version: ${{ matrix.python-version }}
144+ # uv-dependency-install-flags: "--all-extras --group dev"
145+ #
146+ # - name: Create source distribution
147+ # run: uv build --sdist
148+ #
149+ # - name: Upload the source distribution artefact
150+ # uses: actions/upload-artifact@v4
171151 # with:
172- # pattern: cibw-*
173- # path: dist
174- # merge-multiple: true
175- # - name: Publish to PyPI
176- # run: |
177- # ls dist
178- # # uv publish
152+ # name: cibw-sdist
153+ # path: dist/*.tar.gz
154+
155+ deploy-pypi :
156+ # TODO: turn back on
157+ # needs: [ build-wheels, make-sdist ]
158+ needs : [build-wheels]
159+ # Having an environment for deployment is strongly recommend by PyPI
160+ # https://docs.pypi.org/trusted-publishers/adding-a-publisher/#github-actions
161+ # You can comment this line out if you don't want it.
162+ # # TODO: turn back on when we only run this on main
163+ # environment: deploy
164+ # permissions:
165+ # # this permission is mandatory for trusted publishing with PyPI
166+ # id-token: write
167+ runs-on : ubuntu-latest
168+ steps :
169+ - name : Download artefacts
170+ uses : actions/download-artifact@v5
171+ with :
172+ pattern : cibw-*
173+ path : dist
174+ merge-multiple : true
175+ - name : Publish to PyPI
176+ run : |
177+ ls dist
178+ # uv publish
0 commit comments