Skip to content

Commit

Permalink
fix upload and download of Artifacts due to breaking change in v4
Browse files Browse the repository at this point in the history
  • Loading branch information
adehad authored and naufraghi committed Aug 14, 2024
1 parent cda188d commit 9eed62b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build_and_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: dist-wheels-${{ matrix.os }}
path: ./wheelhouse/*.whl

build_sdist:
Expand All @@ -42,6 +43,7 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: dist-source
path: dist/*.tar.gz

upload_pypi:
Expand All @@ -54,10 +56,9 @@ jobs:
steps:
- uses: actions/download-artifact@v4
with:
# unpacks default artifact into dist/
# if `name: artifact` is omitted, the action will create extra parent dir
name: artifact
path: dist
pattern: dist-*
merge-multiple: true

- uses: pypa/[email protected]
with:
Expand Down

0 comments on commit 9eed62b

Please sign in to comment.