Skip to content

Commit b7db840

Browse files
committed
upgrade to artifact v4
1 parent 0e37cac commit b7db840

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

.github/workflows/cibuildwheels.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,9 @@ jobs:
9191
CIBW_BUILD_VERBOSITY: 1
9292

9393
- name: Upload wheels
94-
uses: actions/upload-artifact@v3
94+
uses: actions/upload-artifact@v4
9595
with:
96+
name: wheels-${{ matrix.os }}
9697
path: ./wheelhouse/*.whl
9798

9899

@@ -117,21 +118,23 @@ jobs:
117118
- name: Build SDist
118119
run: python setup.py sdist
119120

120-
- uses: actions/upload-artifact@v3
121+
- uses: actions/upload-artifact@v4
121122
with:
123+
name: wheels-source
122124
path: dist/*.tar.gz
123125

124126
upload_pypi:
125127
needs: [ build_wheels, build_sdist ] # last but not least
126128
runs-on: ubuntu-latest
127129
if: startsWith(github.event.ref, 'refs/tags')
128130
steps:
129-
- uses: actions/download-artifact@v3
131+
- uses: actions/download-artifact@v4
130132
with:
131-
name: artifact
132133
path: dist
134+
pattern: wheels-*
135+
merge-multiple: true
133136

134-
- uses: pypa/gh-action-pypi-publish@master
137+
- uses: pypa/gh-action-pypi-publish@release/v1
135138
with:
136139
user: __token__
137140
password: ${{ secrets.blosc_pypi_secret }}

0 commit comments

Comments
 (0)