@Stability(value=Experimental) public static final class PublisherOptions.Builder extends Object implements software.amazon.jsii.Builder<PublisherOptions>
PublisherOptions| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public PublisherOptions.Builder artifactName(String artifactName)
PublisherOptions.getArtifactName()artifactName - The name of the artifact to download (e.g. `dist`). This parameter is required.
The artifact is expected to include a subdirectory for each release target:
go (GitHub), dotnet (NuGet), java (Maven), js (npm), python
(PyPI).this@Stability(value=Experimental) public PublisherOptions.Builder buildJobId(String buildJobId)
PublisherOptions.getBuildJobId()buildJobId - The job ID that produces the build artifacts. This parameter is required.
All publish jobs will take a dependency on this job.this@Stability(value=Experimental) public PublisherOptions.Builder condition(String condition)
PublisherOptions.getCondition()condition - A GitHub workflow expression used as a condition for publishers.this@Stability(value=Experimental) public PublisherOptions.Builder failureIssue(Boolean failureIssue)
PublisherOptions.getFailureIssue()failureIssue - Create an issue when a publish task fails.this@Stability(value=Experimental) public PublisherOptions.Builder failureIssueLabel(String failureIssueLabel)
PublisherOptions.getFailureIssueLabel()failureIssueLabel - The label to apply to the issue marking failed publish tasks.
Only applies if failureIssue is true.this@Stability(value=Experimental) public PublisherOptions.Builder jsiiReleaseVersion(String jsiiReleaseVersion)
PublisherOptions.getJsiiReleaseVersion()jsiiReleaseVersion - Version requirement for `jsii-release`.this@Stability(value=Experimental) public PublisherOptions.Builder publishTasks(Boolean publishTasks)
PublisherOptions.getPublishTasks()publishTasks - Define publishing tasks that can be executed manually as well as workflows.
Normally, publishing only happens within automated workflows. Enable this
in order to create a publishing task for each publishing activity.this@Stability(value=Experimental) public PublisherOptions.Builder workflowRunsOn(List<String> workflowRunsOn)
PublisherOptions.getWorkflowRunsOn()workflowRunsOn - Github Runner selection labels.this@Stability(value=Experimental) public PublisherOptions build()
build in interface software.amazon.jsii.Builder<PublisherOptions>PublisherOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.