Skip to content

Commit

Permalink
actions/{upload,download}-artifact@v4
Browse files Browse the repository at this point in the history
  • Loading branch information
ifduyue committed Jun 1, 2024
1 parent 6e0706a commit fa95471
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ jobs:
CIBW_BUILD: "${{ matrix.build && '*-' || ''}}${{ matrix.build }}*"
CIBW_PRERELEASE_PYTHONS: "${{ !startsWith(github.ref, 'refs/tags/v') }}"

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


Expand All @@ -71,8 +72,9 @@ jobs:
- name: Build sdist
run: python setup.py build sdist

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


Expand All @@ -82,10 +84,11 @@ jobs:
runs-on: ubuntu-20.04
if: github.event_name == 'push' && github.repository == 'ifduyue/python-xxhash'
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: artifact
pattern: wheels-*
path: dist
merge-multiple: true

- name: Upload to Test PyPI
uses: pypa/[email protected]
Expand Down

0 comments on commit fa95471

Please sign in to comment.