From 90365814ce49e0a017dc26d250460d7b7b1afb74 Mon Sep 17 00:00:00 2001 From: paugier Date: Tue, 30 Jan 2024 12:25:31 +0100 Subject: [PATCH] Fix Github Actions wheels --- .github/workflows/wheels.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 3eaaa4f3..a6ed21c9 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -37,8 +37,9 @@ jobs: env: CIBW_SKIP: pp* cp36-* cp37-* cp38-* *-musllinux* CIBW_ARCHS: ${{ matrix.architecture }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: + name: wheel-${{ matrix.os }}-${{ matrix.architecture }} path: wheelhouse/*.whl sdist: @@ -46,10 +47,12 @@ jobs: steps: - uses: actions/checkout@v4 - run: echo ${{ github.ref }} - - run: python -m pip install build + - run: python -m pip install build twine - run: python -m build --sdist - - uses: actions/upload-artifact@v3 + - run: twine check --strict dist/* + - uses: actions/upload-artifact@v4 with: + name: sdist path: dist/*.tar.gz upload: @@ -65,7 +68,8 @@ jobs: steps: - uses: actions/download-artifact@v4 with: - name: artifact path: dist + merge-multiple: true - run: python -m pip install twine + - run: ls dist - run: python -m twine upload dist/*