-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix upload artefacts steps in GH Actions workflows
Version 4 of 'actions/download-artifact' introduced a breaking change which broke the 'build-wheels' job. See actions/upload-artifact#478.
- Loading branch information
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 |
---|---|---|
|
@@ -81,7 +81,7 @@ jobs: | |
- name: Upload artefacts to GitHub | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: dist-packages | ||
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }} | ||
path: wheelhouse/*.whl | ||
|
||
build-sdist: | ||
|
@@ -112,7 +112,7 @@ jobs: | |
- name: Upload artefacts to GitHub | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: dist-packages | ||
name: cibw-sdist | ||
path: dist/*.tar.gz | ||
|
||
publish-to-test-pypi: | ||
|
@@ -129,8 +129,9 @@ jobs: | |
- name: Download artefacts | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: dist-packages | ||
name: cibw-* | ||
path: dist | ||
merge-multiple: true | ||
|
||
- name: Publish to TestPyPI | ||
uses: pypa/[email protected] | ||
|
@@ -153,8 +154,9 @@ jobs: | |
- name: Download artefacts | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: dist-packages | ||
name: cibw-* | ||
path: dist | ||
merge-multiple: true | ||
|
||
- name: Publish to test PyPI | ||
uses: pypa/[email protected] | ||
|