@Stability(value=Experimental) public static final class GithubWorkflow.Builder extends Object implements software.amazon.jsii.Builder<GithubWorkflow>
GithubWorkflow.| Modifier and Type | Method and Description |
|---|---|
GithubWorkflow |
build() |
GithubWorkflow.Builder |
concurrency(String concurrency)
(experimental) Concurrency ensures that only a single job or workflow using the same concurrency group will run at a time.
|
static GithubWorkflow.Builder |
create(GitHub github,
String name) |
GithubWorkflow.Builder |
force(Boolean force)
(experimental) Force the creation of the workflow even if `workflows` is disabled in `GitHub`.
|
@Stability(value=Experimental) public static GithubWorkflow.Builder create(GitHub github, String name)
github - This parameter is required.name - This parameter is required.GithubWorkflow.Builder.@Stability(value=Experimental) public GithubWorkflow.Builder concurrency(String concurrency)
Currently in beta.
Default: - disabled
concurrency - Concurrency ensures that only a single job or workflow using the same concurrency group will run at a time. This parameter is required.thishttps://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#concurrency@Stability(value=Experimental) public GithubWorkflow.Builder force(Boolean force)
Default: false
force - Force the creation of the workflow even if `workflows` is disabled in `GitHub`. This parameter is required.this@Stability(value=Experimental) public GithubWorkflow build()
build in interface software.amazon.jsii.Builder<GithubWorkflow>Copyright © 2021. All rights reserved.