Skip to content

Commit

Permalink
ci: fix upload and download strategy for artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthieuDartiailh committed Sep 4, 2024
1 parent 1a01622 commit 03cc2bd
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,9 @@ jobs:
run: |
python -m cibuildwheel . --output-dir dist
- name: Store artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: artifact
name: cibw-wheels-${{ runner.os }}-${{ matrix.manylinux_version }}-${{ matrix.archs }}
path: dist/*.whl

publish:
Expand All @@ -196,8 +196,9 @@ jobs:
steps:
- uses: actions/[email protected]
with:
name: artifact
pattern: cibw-*
path: dist
merge-multiple: true

- uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand All @@ -222,8 +223,9 @@ jobs:
- name: Download all the dists
uses: actions/[email protected]
with:
name: artifact
pattern: cibw-*
path: dist
merge-multiple: true
- name: Sign the dists with Sigstore
uses: sigstore/[email protected]
with:
Expand Down

0 comments on commit 03cc2bd

Please sign in to comment.