44
55name : Wheel
66
7- on :
8- push :
9- # Workflow run on tags for v2 only.
10- tags :
11- - v2.*
12- pull_request :
13- # Workflow run on pull_request only when related files change.
14- branches-ignore :
15- - RB-0.*
16- - RB-1.*
17- - gh-pages
18- tags-ignore :
19- - v0.*
20- - v1.*
21- paths :
22- - .github/workflows/wheel_workflow.yml
23- - MANIFEST.in
24- - pyproject.toml
25- - setup.cfg
26- - setup.py
27- schedule :
28- # Nightly build
29- - cron : " 0 0 * * *"
7+ on : [push]
308
319jobs :
3210 # Linux jobs run in Docker containers (manylinux), so the latest OS version
4523 name : Build SDist
4624 runs-on : ubuntu-latest
4725 # Don't run on OCIO forks
48- if : |
49- github.event_name != 'schedule' ||
50- github.repository == 'AcademySoftwareFoundation/OpenColorIO'
26+ # if: |
27+ # github.event_name != 'schedule' ||
28+ # github.repository == 'AcademySoftwareFoundation/OpenColorIO'
5129
5230 steps :
5331
@@ -374,6 +352,7 @@ jobs:
374352 env :
375353 CIBW_BUILD : ${{ matrix.python }}
376354 CIBW_ARCHS : ${{ matrix.arch }}
355+ CIBW_TEST_SKIP : " *"
377356
378357 - uses : actions/upload-artifact@v4
379358 with :
@@ -384,7 +363,7 @@ jobs:
384363 upload_pypi :
385364 needs : [sdist, linux, macos, macos-arm, windows]
386365 runs-on : ubuntu-latest
387- if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
366+ # if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
388367 steps :
389368 - uses : actions/setup-python@v5
390369
@@ -398,3 +377,4 @@ jobs:
398377 with :
399378 user : __token__
400379 password : ${{ secrets.PYPI_API_TOKEN }}
380+ repository-url : https://test.pypi.org/legacy/
0 commit comments