From 03cc2bd9058c7d4c44a911c0cffa9875237f5fed Mon Sep 17 00:00:00 2001 From: MatthieuDartiailh Date: Wed, 4 Sep 2024 10:31:29 +0200 Subject: [PATCH] ci: fix upload and download strategy for artifacts --- .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 d8cbe81..b10c451 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -184,9 +184,9 @@ jobs: run: | python -m cibuildwheel . --output-dir dist - name: Store artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: artifact + name: cibw-wheels-${{ runner.os }}-${{ matrix.manylinux_version }}-${{ matrix.archs }} path: dist/*.whl publish: @@ -196,8 +196,9 @@ jobs: steps: - uses: actions/download-artifact@v4.1.7 with: - name: artifact + pattern: cibw-* path: dist + merge-multiple: true - uses: pypa/gh-action-pypi-publish@release/v1 with: @@ -222,8 +223,9 @@ jobs: - name: Download all the dists uses: actions/download-artifact@v4.1.7 with: - name: artifact + pattern: cibw-* path: dist + merge-multiple: true - name: Sign the dists with Sigstore uses: sigstore/gh-action-sigstore-python@v2.1.0 with: