You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`branch`| Optional branch override for single-branch builds | No |`''`|
27
+
|`branches`| Optional branch override (singlebranch or comma-separated list) for builds | No |`''`|
28
28
|`config-ref`| Git ref for spring-cloud-github-actions config | No |`main`|
29
29
30
30
## Outputs
@@ -56,7 +56,7 @@ jobs:
56
56
repository: ${{ github.repository }}
57
57
event-name: ${{ github.event_name }}
58
58
ref-name: ${{ github.ref_name }}
59
-
branch: ${{ inputs.branch }}
59
+
branches: ${{ inputs.branches }}
60
60
61
61
build:
62
62
needs: setup
@@ -86,9 +86,32 @@ Other Spring Cloud repositories can reference this action:
86
86
repository: ${{ github.repository }}
87
87
event-name: ${{ github.event_name }}
88
88
ref-name: ${{ github.ref_name }}
89
-
branch: ${{ inputs.branch }}
89
+
branches: ${{ inputs.branches }}
90
90
```
91
91
92
+
### Using Comma-Separated Branches
93
+
94
+
You can specify multiple branches using a comma-separated list. This is useful for manual workflow dispatches or when you want to build specific branches:
0 commit comments