@@ -134,7 +134,11 @@ jobs:
134134 path : python/pecos-rslib/dist/*.whl
135135
136136 test_abi3_wheels :
137- needs : build_wheels_pecos_rslib
137+ needs : [check_pr_push, build_wheels_pecos_rslib]
138+ if : |
139+ needs.build_wheels_pecos_rslib.result == 'success' &&
140+ (needs.check_pr_push.result == 'success' && needs.check_pr_push.outputs.run == 'true' || needs.check_pr_push.result == 'skipped') &&
141+ (github.event_name != 'pull_request' || github.event.pull_request.merged == true || github.event.action == 'opened' || github.event.action == 'synchronize')
138142 runs-on : ${{ matrix.platform.runner }}
139143 strategy :
140144 fail-fast : false
@@ -180,7 +184,7 @@ jobs:
180184 build_sdist_quantum_pecos :
181185 needs : [check_pr_push, build_wheels_pecos_rslib]
182186 if : |
183- always() &&
187+ needs.build_wheels_pecos_rslib.result == 'success' &&
184188 (needs.check_pr_push.result == 'success' && needs.check_pr_push.outputs.run == 'true' || needs.check_pr_push.result == 'skipped') &&
185189 (github.event_name != 'pull_request' || github.event.pull_request.merged == true || github.event.action == 'opened' || github.event.action == 'synchronize')
186190 runs-on : ubuntu-latest
@@ -233,7 +237,7 @@ jobs:
233237 build_wheels_quantum_pecos :
234238 needs : [check_pr_push, build_wheels_pecos_rslib]
235239 if : |
236- always() &&
240+ needs.build_wheels_pecos_rslib.result == 'success' &&
237241 (needs.check_pr_push.result == 'success' && needs.check_pr_push.outputs.run == 'true' || needs.check_pr_push.result == 'skipped') &&
238242 (github.event_name != 'pull_request' || github.event.pull_request.merged == true || github.event.action == 'opened' || github.event.action == 'synchronize')
239243 runs-on : ubuntu-latest
0 commit comments