Skip to content

Commit

Permalink
ci: wheel building fix after upgrades?
Browse files Browse the repository at this point in the history
  • Loading branch information
proycon committed Mar 3, 2025
1 parent f83bc9c commit 01e0e1a
Showing 1 changed file with 24 additions and 21 deletions.
45 changes: 24 additions & 21 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand All @@ -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 *

0 comments on commit 01e0e1a

Please sign in to comment.