From 01e0e1aada88229078423c73f1e2810876b2086f Mon Sep 17 00:00:00 2001 From: Maarten van Gompel Date: Mon, 3 Mar 2025 14:28:46 +0100 Subject: [PATCH] ci: wheel building fix after upgrades? --- .github/workflows/wheels.yml | 45 +++++++++++++++++++----------------- 1 file changed, 24 insertions(+), 21 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 0751f21..114163c 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -39,7 +39,7 @@ jobs: - name: Upload wheels uses: actions/upload-artifact@v4 with: - name: wheels + name: analiticcl-wheels-linux-${{ matrix.target }} path: dist overwrite: true @@ -69,7 +69,7 @@ jobs: - name: Upload wheels uses: actions/upload-artifact@v4 with: - name: wheels + name: analiticcl-wheels-win-${{ matrix.target }} path: dist overwrite: true @@ -100,14 +100,14 @@ jobs: - name: Upload wheels uses: actions/upload-artifact@v4 with: - name: wheels + name: analiticcl-wheels-macos-${{ matrix.target }} path: dist overwrite: true sdist: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: sparse-checkout: 'bindings/python' sparse-checkout-cone-mode: false @@ -126,23 +126,26 @@ jobs: - name: Upload sdist uses: actions/upload-artifact@v4 with: - name: wheels + name: analiticcl-sdist path: dist overwrite: true - release: - name: Release - runs-on: ubuntu-latest - if: "startsWith(github.ref, 'refs/tags/')" - needs: [linux, windows, macos, sdist] - steps: - - uses: actions/download-artifact@v4 - with: - name: wheels - # - name: Publish to PyPI - # uses: PyO3/maturin-action@v1 - # env: - # MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }} - # with: - # command: upload - # args: --skip-existing * +# release: +# name: Release +# runs-on: ubuntu-latest +# if: "startsWith(github.ref, 'refs/tags/')" +# needs: [linux, windows, macos, sdist] +# steps: +# - uses: actions/download-artifact@v4 +# with: +# name: wheels +# - uses: actions/download-artifact@v4 +# with: +# name: analiticcl-sdist +# # - name: Publish to PyPI +# # uses: PyO3/maturin-action@v1 +# # env: +# # MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }} +# # with: +# # command: upload +# # args: --skip-existing *