File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 workflow_dispatch :
1717 # Enables calling from other workflows
1818 workflow_call :
19+ inputs :
20+ force_run :
21+ type : boolean
22+ default : false
1923
2024jobs :
2125 build-tools :
2226 name : Tools
2327 # Allow if it's NOT a tag OR if it's being called by another workflow/manual dispatch
2428 if : |
25- github.event_name == 'workflow_call' ||
29+ inputs.force_run == true ||
2630 github.event_name == 'workflow_dispatch' ||
2731 (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/'))
2832 runs-on : ${{ matrix.os }}
Original file line number Diff line number Diff line change @@ -429,6 +429,8 @@ jobs:
429429 needs : create_release
430430 if : startsWith(github.ref, 'refs/tags/d')
431431 uses : ./.github/workflows/buildtools.yml
432+ with :
433+ force_run : true # This overrides the 'if' logic in the child
432434
433435 # Final job to collect everything and upload to the release
434436 upload-tools :
You can’t perform that action at this time.
0 commit comments