Skip to content

Commit 58fd590

Browse files
committed
Groundhog day, groundhog day!
1 parent 08c250a commit 58fd590

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/buildtools.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,17 @@ on:
1616
workflow_dispatch:
1717
# Enables calling from other workflows
1818
workflow_call:
19+
inputs:
20+
force_run:
21+
type: boolean
22+
default: false
1923

2024
jobs:
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 }}

.github/workflows/tagged_build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)