Upgrade upload/download actions (#929)

This commit is contained in:
Jesse Hills 2024-08-28 11:25:37 +12:00 committed by GitHub
parent 8b3158aefc
commit 9230eaf2bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,8 +33,9 @@ jobs:
CIBW_ARCHS_LINUX: auto aarch64
REQUIRE_CYTHON: 1
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: wheels
path: ./wheelhouse/*.whl
build_sdist:
@ -46,8 +47,9 @@ jobs:
- name: Build sdist
run: pipx run build --sdist
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: sdist
path: dist/*.tar.gz
upload_pypi:
@ -59,10 +61,10 @@ jobs:
if: github.event_name == 'release' && github.event.action == 'published'
steps:
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: artifact
path: dist
merge-multiple: true
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@v1.9.0