From 58f7a06b4c9575cfec349bab477b7e2dfa1a5158 Mon Sep 17 00:00:00 2001 From: igorcoding Date: Sun, 5 May 2024 18:33:11 +0300 Subject: [PATCH] fix artifacts dirs --- .github/workflows/actions.yaml | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/.github/workflows/actions.yaml b/.github/workflows/actions.yaml index ccb04b2..8506901 100644 --- a/.github/workflows/actions.yaml +++ b/.github/workflows/actions.yaml @@ -82,7 +82,7 @@ jobs: - uses: actions/upload-artifact@v4 with: - name: wheels + name: wheels-${{ matrix.os }} path: ./wheelhouse/*.whl publish: @@ -110,14 +110,25 @@ jobs: - uses: actions/download-artifact@v4 with: - name: wheels - path: wheels + name: wheels-ubuntu-latest + path: wheels-ubuntu + + - uses: actions/download-artifact@v4 + with: + name: wheels-macos-latest + path: wheels-macos + + - uses: actions/download-artifact@v4 + with: + name: wheels-windows-latest + path: wheels-windows + - name: Publish dist run: | python -m build . -s tree wheels tree dist - twine upload dist/* wheels/* + twine upload dist/* wheels-ubuntu/*.whl wheels-macos/*.whl wheels-windows/*.whl env: TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }} TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} @@ -127,7 +138,9 @@ jobs: prerelease: false title: ${{ steps.get_tag.outputs.TAG }} files: | - wheels/*.whl + wheels-ubuntu/*.whl + wheels-macos/*.whl + wheels-windows/*.whl dist/* docs: