@@ -220,54 +220,54 @@ jobs:
220
220
set_upload_vars
221
221
upload_wheels
222
222
223
- publish :
224
- if : >
225
- github.repository == 'evgmosme/pandas' &&
226
- github.event_name == 'push' &&
227
- startsWith(github.ref, 'refs/tags/v')
223
+ publish :
224
+ if : >
225
+ github.repository == 'evgmosme/pandas' &&
226
+ github.event_name == 'push' &&
227
+ startsWith(github.ref, 'refs/tags/v')
228
228
229
- needs :
230
- - build_sdist
231
- - build_wheels
229
+ needs :
230
+ - build_sdist
231
+ - build_wheels
232
232
233
- runs-on : ubuntu-latest
233
+ runs-on : ubuntu-latest
234
234
235
- environment :
236
- name : testpypi # must match the Environment in repo settings
237
- permissions :
238
- id-token : write # OIDC for Trusted Publishing
239
- contents : read
235
+ environment :
236
+ name : testpypi # must match the Environment in repo settings
237
+ permissions :
238
+ id-token : write # OIDC for Trusted Publishing
239
+ contents : read
240
240
241
- steps :
242
- - name : Download all artefacts
243
- uses : actions/download-artifact@v4
244
- with :
245
- path : dist # everything lands in ./dist/**
241
+ steps :
242
+ - name : Download all artefacts
243
+ uses : actions/download-artifact@v4
244
+ with :
245
+ path : dist # everything lands in ./dist/**
246
246
247
- - name : Collect files
248
- run : |
249
- mkdir -p upload
250
- # skip any wheel that contains 'pyodide'
251
- find dist -name '*pyodide*.whl' -prune -o \
252
- -name '*.whl' -exec mv {} upload/ \;
253
- find dist -name '*.tar.gz' -exec mv {} upload/ \;
247
+ - name : Collect files
248
+ run : |
249
+ mkdir -p upload
250
+ # skip any wheel that contains 'pyodide'
251
+ find dist -name '*pyodide*.whl' -prune -o \
252
+ -name '*.whl' -exec mv {} upload/ \;
253
+ find dist -name '*.tar.gz' -exec mv {} upload/ \;
254
254
255
- - name : Publish to **Test PyPI** (Trusted Publishing)
256
- uses : pypa/gh-action-pypi-publish@release/v1
257
- with :
258
- repository-url : https://test.pypi.org/legacy/
259
- packages-dir : upload
260
- skip-existing : true
255
+ - name : Publish to **Test PyPI** (Trusted Publishing)
256
+ uses : pypa/gh-action-pypi-publish@release/v1
257
+ with :
258
+ repository-url : https://test.pypi.org/legacy/
259
+ packages-dir : upload
260
+ skip-existing : true
261
261
262
- # environment:
263
- # name: pypi
264
- # permissions:
265
- # id-token: write
266
- # contents: read
267
- #
268
- # - name: Publish to **PyPI** (Trusted Publishing)
269
- # uses: pypa/gh-action-pypi-publish@release/v1
270
- # with:
271
- # repository-url: https://upload.pypi.org/legacy/
272
- # packages-dir: upload
273
- # skip-existing: true
262
+ # environment:
263
+ # name: pypi
264
+ # permissions:
265
+ # id-token: write
266
+ # contents: read
267
+ #
268
+ # - name: Publish to **PyPI** (Trusted Publishing)
269
+ # uses: pypa/gh-action-pypi-publish@release/v1
270
+ # with:
271
+ # repository-url: https://upload.pypi.org/legacy/
272
+ # packages-dir: upload
273
+ # skip-existing: true
0 commit comments