-
-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: fix upload and download strategy for artifacts
- Loading branch information
1 parent
1a01622
commit 03cc2bd
Showing
1 changed file
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
@@ -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: | ||
|
@@ -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: | ||
|