Skip to content

Commit e5ff25f

Browse files
committed
duplicate dispatch/call workflow inputs
1 parent 6a2e42d commit e5ff25f

File tree

3 files changed

+23
-1
lines changed

3 files changed

+23
-1
lines changed

.github/workflows/run_gradle_task.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ run-name: "Gradle Task ${{ inputs.gradle-task }} @ ${{ inputs.runs-on }}"
66
on:
77
workflow_dispatch:
88
inputs:
9+
gradle-task:
10+
description: "The Gradle task to run, including any flags"
11+
required: true
12+
type: string
13+
runs-on:
14+
description: "OS to run the task on"
15+
required: true
16+
type: string
917
checkout-ref:
1018
description: "The repository reference to checkout"
1119
required: false
@@ -17,9 +25,13 @@ on:
1725
required: true
1826
type: string
1927
runs-on:
20-
description: "OSes to run the task on"
28+
description: "OS to run the task on"
2129
required: true
2230
type: string
31+
checkout-ref:
32+
description: "The repository reference to checkout"
33+
required: false
34+
type: string
2335

2436

2537
concurrency:

.github/workflows/run_publish_maven.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ on:
99
required: false
1010
type: string
1111
workflow_call:
12+
inputs:
13+
checkout-ref:
14+
description: "The repository reference to checkout"
15+
required: false
16+
type: string
1217

1318

1419
concurrency:

.github/workflows/workflow_release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ name: Releases
33

44
on:
55
workflow_dispatch:
6+
inputs:
7+
checkout-ref:
8+
description: "The repository reference to checkout"
9+
required: false
10+
type: string
611
push:
712
branches: [ main ]
813
release:

0 commit comments

Comments
 (0)