From 9230eaf2bda847acfa1a1f2855a534739d74ae74 Mon Sep 17 00:00:00 2001 From: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Date: Wed, 28 Aug 2024 11:25:37 +1200 Subject: [PATCH] Upgrade upload/download actions (#929) --- .github/workflows/release.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e39b3bd..1936247 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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