mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-09-03 08:13:42 +08:00
ci: route build_model runner by target_hardware instead of hardcoding chestnut
This commit is contained in:
@@ -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 }})
|
||||
|
||||
Reference in New Issue
Block a user