Skip to content

Commit a6e313e

Browse files
committed
chore: download wheels
1 parent e08ebb7 commit a6e313e

1 file changed

Lines changed: 7 additions & 12 deletions

File tree

.github/workflows/build.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ jobs:
354354
- name: Upload sdist
355355
uses: actions/upload-artifact@v4
356356
with:
357-
name: wheels
357+
name: sdist
358358
path: dist
359359

360360
release:
@@ -364,7 +364,6 @@ jobs:
364364

365365
runs-on: ubuntu-latest
366366
environment: Publish
367-
#environment: testpublish
368367
permissions:
369368
# IMPORTANT: this permission is mandatory for Trusted Publishing
370369
id-token: write
@@ -373,21 +372,17 @@ jobs:
373372
- uses: actions/download-artifact@v4
374373
with:
375374
pattern: wheels-*
376-
name: wheels
377375
path: dist
378-
#- name: Publish to PyPI
379-
# env:
380-
# MATURIN_PYPI_TOKEN: ${{ secrets.caipypi }}
381-
# with:
382-
# command: upload
383-
# args: --non-interactive --skip-existing *
376+
377+
- name: Download sdist artifact
378+
uses: actions/download-artifact@v4
379+
with:
380+
name: sdist
381+
path: dist
384382

385383
# List the contents of the dist directory for debugging
386384
- name: List final dist directory contents
387385
run: ls -l dist || echo "dist directory does not exist or is empty"
388386

389387
- name: Publish package distributions to PyPI
390388
uses: pypa/gh-action-pypi-publish@release/v1
391-
#with:
392-
# repository-url: https://test.pypi.org/legacy/
393-
# verbose: true

0 commit comments

Comments
 (0)