From bec51686b0de6bcc8c81d94f2193bf85ebe952f1 Mon Sep 17 00:00:00 2001 From: MatthieuDartiailh Date: Thu, 7 Mar 2024 10:31:55 +0100 Subject: [PATCH] cis: fix release workflow --- .github/workflows/release.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 31f92053..7f28eed4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,8 +33,8 @@ jobs: - name: Store artifacts uses: actions/upload-artifact@v4 with: - name: artifact - path: dist/* + name: artifact-sdist + path: dist/*.tar.gz build_wheel: name: Build wheel @@ -61,7 +61,7 @@ jobs: - name: Store artifacts uses: actions/upload-artifact@v4 with: - name: artifact + name: artifact-wheel path: dist/*.whl release_upload: @@ -82,8 +82,9 @@ jobs: prerelease: ${{ contains(github.ref, 'rc') || contains(github.ref, 'a') || contains(github.ref, 'b')}} - uses: actions/download-artifact@v4 with: - name: artifact + pattern: articfact-* path: dist + merge-multiple: true - name: Upload Release Asset id: upload-release-asset uses: shogo82148/actions-upload-release-asset@v1