Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions .github/workflows/buildwheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ jobs:
- uses: actions/checkout@v5
with:
fetch-depth: 0
submodules: true
submodules: recursive

- name: Build source distribution
run: pipx run build --sdist
Expand All @@ -177,9 +177,22 @@ jobs:
name: cibw-sdist
path: dist/*.tar.gz

check_sdist:
name: Check if source wheels are compilable
runs-on: ubuntu-latest
needs: [make_sdist]
steps:
- uses: actions/download-artifact@v5
with:
pattern: cibw-sdist
merge-multiple: true
path: dist
- run: ls -R
- run: pip install --no-binary PyPartMC dist/pypartmc-*.tar.gz

dist_upload:
runs-on: ubuntu-latest
needs: [build_wheels, make_sdist]
needs: [build_wheels, check_sdist]
environment: pypi
permissions:
id-token: write
Expand Down
Loading