-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new upload+download actions changed behavior wrt multiple artifacts o…
…f same name Adjust by explicitly naming uploads and merging in downloads. It's also not possible to use download v3 for upload v4 artifacts
- Loading branch information
1 parent
ae8a82e
commit 8b47139
Showing
1 changed file
with
7 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 |
---|---|---|
|
@@ -117,6 +117,7 @@ jobs: | |
if: (!matrix.use_qemu) || fromJSON(env.USE_QEMU) | ||
with: | ||
path: ./wheelhouse/*.whl | ||
name: archive_wheels_${{ matrix.os }}_${{ matrix.arch }}_${{ matrix.skip }} | ||
|
||
build-sdist: | ||
name: Build source distribution | ||
|
@@ -137,6 +138,7 @@ jobs: | |
- uses: actions/upload-artifact@v4 | ||
with: | ||
path: dist/*.tar.gz | ||
name: archive_sdist | ||
|
||
test-sdist: | ||
name: Test build from source distribution | ||
|
@@ -151,9 +153,9 @@ jobs: | |
with: | ||
python-version: '3.9' | ||
|
||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: artifact | ||
name: archive_sdist | ||
path: sdist | ||
|
||
- name: Install from SDist | ||
|
@@ -177,10 +179,11 @@ jobs: | |
if: github.repository_owner == 'ssciwr' | ||
|
||
steps: | ||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: artifact | ||
name: archive* | ||
path: dist | ||
merge-multiple: true | ||
|
||
- name: Upload to PyPI | ||
uses: pypa/[email protected] | ||
|