[CI] Fix: incorrect downstream job execution when only build_gpu/xpu is skipped (#6958)

* [CI] Fix: incorrect downstream job execution when only build_gpu/xpu is skipped

* [CI] Fix: avoid skipping required jobs by moving skip logic to steps

* [CI] Fix: Invalid secret, github-token is not defined
This commit is contained in:
YuBaoku
2026-03-22 17:00:18 +08:00
committed by GitHub
parent 0b4c1cba9b
commit fdd12ff5ba
10 changed files with 9 additions and 11 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ jobs:
base_tests:
runs-on: [self-hosted, GPU-h20-1Cards]
needs: check_bypass
if: ${{ needs.check_bypass.outputs.can-skip != 'true' }}
if: ${{ inputs.FASTDEPLOY_WHEEL_URL != '' && needs.check_bypass.outputs.can-skip != 'true' }}
timeout-minutes: 60
steps:
- name: Code Prepare