ci: route build_model runner by target_hardware instead of hardcoding chestnut

This commit is contained in:
Jason Wen
2026-09-01 01:11:30 -04:00
parent 0b11b7c794
commit b84214ceab
@@ -121,7 +121,7 @@ jobs:
if-no-files-found: error
build_model:
runs-on: [self-hosted, chestnut]
runs-on: [self-hosted, "${{ inputs.target_hardware == 'chestnut' && 'chestnut' || 'tici' }}"]
needs: get_model
env:
MODEL_NAME: ${{ inputs.custom_name || inputs.upstream_branch }} (${{ needs.get_model.outputs.model_date }})