-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrading to upload/download-artifact v4
- Loading branch information
1 parent
2212c92
commit e429425
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 |
---|---|---|
|
@@ -67,8 +67,9 @@ jobs: | |
uses: pypa/[email protected] | ||
|
||
- name: Upload wheels | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: wheels-${{ matrix.runs-on }} | ||
path: ./wheelhouse/*.whl | ||
|
||
|
||
|
@@ -99,6 +100,7 @@ jobs: | |
- name: Upload sdist package | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: wheels-source | ||
path: dist/*.tar.gz | ||
|
||
- name: Build building extension from sdist package | ||
|
@@ -120,10 +122,10 @@ jobs: | |
# Only upload wheels when tagging (typically a release) | ||
if: startsWith(github.event.ref, 'refs/tags') | ||
steps: | ||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: artifact | ||
path: dist | ||
pattern: wheels-* # Download the wheels artifact | ||
merge-multiple: true # Merge all the wheels artifacts into one directory | ||
|
||
- uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
|