Skip to content

Commit

Permalink
Don't distribute sdist (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebarron authored Aug 8, 2024
1 parent 1ab7240 commit 21a49cb
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,26 +121,26 @@ jobs:
name: wheels-macos-${{ matrix.platform.target }}-${{ matrix.module }}
path: dist

sdist:
runs-on: ubuntu-latest
strategy:
matrix:
module:
- arro3-core
- arro3-compute
- arro3-io
steps:
- uses: actions/checkout@v4
- name: Build sdist
uses: PyO3/maturin-action@v1
with:
command: sdist
args: --out dist --manifest-path ${{ matrix.module }}/Cargo.toml
- name: Upload sdist
uses: actions/upload-artifact@v4
with:
name: wheels-sdist-${{ matrix.module }}
path: dist
# sdist:
# runs-on: ubuntu-latest
# strategy:
# matrix:
# module:
# - arro3-core
# - arro3-compute
# - arro3-io
# steps:
# - uses: actions/checkout@v4
# - name: Build sdist
# uses: PyO3/maturin-action@v1
# with:
# command: sdist
# args: --out dist --manifest-path ${{ matrix.module }}/Cargo.toml
# - name: Upload sdist
# uses: actions/upload-artifact@v4
# with:
# name: wheels-sdist-${{ matrix.module }}
# path: dist

release:
runs-on: ubuntu-latest
Expand All @@ -158,7 +158,7 @@ jobs:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
if: startsWith(github.ref, 'refs/tags/')
needs: [linux, windows, macos, sdist]
needs: [linux, windows, macos]
steps:
- uses: actions/download-artifact@v4
with:
Expand Down

0 comments on commit 21a49cb

Please sign in to comment.