[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
@@ -43,7 +43,7 @@ jobs:
runs-on: [self-hosted, GPU-h1z1-2Cards]
timeout-minutes: 105
needs: check_cov_skip
if: needs.check_cov_skip.outputs.can-skip != 'true'
if: ${{ inputs.FASTDEPLOY_WHEEL_URL != '' && needs.check_cov_skip.outputs.can-skip != 'true' }}
outputs:
all_cov_file_url: ${{ steps.cov_upload.outputs.all_cov_file_url }}
unittest_failed_url: ${{ steps.cov_upload.outputs.unittest_failed_url }}