From 1ff1ba594960c2cc3c60839780d47ff8392ee65c Mon Sep 17 00:00:00 2001 From: Alexander Bonkowski <57258530+ab5424@users.noreply.github.com> Date: Tue, 10 Sep 2024 19:50:28 +0200 Subject: [PATCH] Use distinct names for artifacts (#4059) * Use distinct names for artifacts * Bump `upload-artifact` * allow any v4 download-artifact --------- Co-authored-by: Janosh Riebesell --- .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 a8451965a76..271d06eff91 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,7 +36,7 @@ jobs: pip install build python -m build --sdist - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: path: dist/*.tar.gz @@ -57,8 +57,9 @@ jobs: CIBW_BUILD: cp${{ matrix.python-version }}-* - name: Save artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: + name: dist-${{ matrix.os }}-${{ matrix.python-version }} path: ./wheelhouse/*.whl release: @@ -74,9 +75,10 @@ jobs: python-version: "3.12" - name: Get build artifacts - uses: actions/download-artifact@v4.1.7 + uses: actions/download-artifact@v4 with: - name: artifact + pattern: dist-* + merge-multiple: true path: dist - name: Publish to PyPi or TestPyPI