From 102ea172f32f3570ffb97b9c5bca05108fb6952b Mon Sep 17 00:00:00 2001 From: mayeut Date: Wed, 27 Dec 2023 19:11:01 +0100 Subject: [PATCH] fix: artifact upload/download --- .github/workflows/build.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0b10c16..909cbcc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -75,6 +75,7 @@ jobs: - uses: actions/upload-artifact@v4 with: + name: cibw-wheels-${{ matrix.os }}-${{ matrix.arch }} path: ./wheelhouse/*.whl - name: Test wheel on host Linux @@ -98,6 +99,7 @@ jobs: - uses: actions/upload-artifact@v4 with: + name: cibw-sdist path: dist/*.tar.gz test_sdist: @@ -130,7 +132,7 @@ jobs: - uses: actions/download-artifact@v4 with: - name: artifact + name: cibw-sdist path: sdist - name: Install SDist @@ -151,8 +153,9 @@ jobs: steps: - uses: actions/download-artifact@v4 with: - name: artifact + pattern: cibw-* path: dist + merge-multiple: true - run: pipx run twine check --strict dist/* @@ -169,8 +172,9 @@ jobs: steps: - uses: actions/download-artifact@v4 with: - name: artifact + pattern: cibw-* path: dist + merge-multiple: true - name: Upload to PyPI uses: pypa/gh-action-pypi-publish@release/v1