Run sdist when scheduled, but do not upload to scientific-python-nightly-wheels index (#9248)

This commit is contained in:
Andrew Murray 2025-10-13 23:24:04 +11:00 committed by GitHub
parent 4892244908
commit c60b36d0a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -232,7 +232,7 @@ jobs:
path: winbuild\build\bin\fribidi* path: winbuild\build\bin\fribidi*
sdist: sdist:
if: github.event_name != 'schedule' if: github.event_name != 'schedule' || github.repository_owner == 'python-pillow'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v5 - uses: actions/checkout@v5
@ -277,7 +277,7 @@ jobs:
steps: steps:
- uses: actions/download-artifact@v5 - uses: actions/download-artifact@v5
with: with:
pattern: dist-* pattern: dist-*.whl
path: dist path: dist
merge-multiple: true merge-multiple: true
- name: Upload wheels to scientific-python-nightly-wheels - name: Upload wheels to scientific-python-nightly-wheels