Package io.github.cdklabs.projen.release
Interface PublisherOptions
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PublisherOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:43.256Z") @Stability(Experimental) public interface PublisherOptions extends software.amazon.jsii.JsiiSerializable
(experimental) Options forPublisher.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPublisherOptions.BuilderA builder forPublisherOptionsstatic classPublisherOptions.Jsii$ProxyAn implementation forPublisherOptions
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description static PublisherOptions.Builderbuilder()StringgetArtifactName()(experimental) The name of the artifact to download (e.g.StringgetBuildJobId()(experimental) The job ID that produces the build artifacts.default StringgetCondition()(experimental) A GitHub workflow expression used as a condition for publishers.default BooleangetDryRun()(experimental) Do not actually publish, only print the commands that would be executed instead.default BooleangetFailureIssue()(experimental) Create an issue when a publish task fails.default StringgetFailureIssueLabel()(experimental) The label to apply to the issue marking failed publish tasks.default StringgetJsiiReleaseVersion()Deprecated.usepublibVersioninsteaddefault StringgetPublibVersion()(experimental) Version requirement forpublib.default BooleangetPublishTasks()(experimental) Define publishing tasks that can be executed manually as well as workflows.default StringgetWorkflowContainerImage()(experimental) Container image to use for GitHub workflows.default StringgetWorkflowNodeVersion()(experimental) Node version to setup in GitHub workflows if any node-based CLI utilities are needed.default List<String>getWorkflowRunsOn()(experimental) Github Runner selection labels.default GroupRunnerOptionsgetWorkflowRunsOnGroup()(experimental) Github Runner Group selection options.
-
-
-
Method Detail
-
getArtifactName
@Stability(Experimental) @NotNull String getArtifactName()
(experimental) The name of the artifact to download (e.g.dist).The artifact is expected to include a subdirectory for each release target:
go(GitHub),dotnet(NuGet),java(Maven),js(npm),python(PyPI).- See Also:
- https://github.com/aws/publib
-
getBuildJobId
@Stability(Experimental) @NotNull String getBuildJobId()
(experimental) The job ID that produces the build artifacts.All publish jobs will take a dependency on this job.
-
getCondition
@Stability(Experimental) @Nullable default String getCondition()
(experimental) A GitHub workflow expression used as a condition for publishers.Default: - no condition
-
getDryRun
@Stability(Experimental) @Nullable default Boolean getDryRun()
(experimental) Do not actually publish, only print the commands that would be executed instead.Useful if you wish to block all publishing from a single option.
-
getFailureIssue
@Stability(Experimental) @Nullable default Boolean getFailureIssue()
(experimental) Create an issue when a publish task fails.Default: false
-
getFailureIssueLabel
@Stability(Experimental) @Nullable default String getFailureIssueLabel()
(experimental) The label to apply to the issue marking failed publish tasks.Only applies if
failureIssueis true.Default: "failed-release"
-
getJsiiReleaseVersion
@Stability(Deprecated) @Deprecated @Nullable default String getJsiiReleaseVersion()
Deprecated.usepublibVersioninstead
-
getPublibVersion
@Stability(Experimental) @Nullable default String getPublibVersion()
(experimental) Version requirement forpublib.Default: "latest"
-
getPublishTasks
@Stability(Experimental) @Nullable default Boolean getPublishTasks()
(experimental) 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.
Default: false
-
getWorkflowContainerImage
@Stability(Experimental) @Nullable default String getWorkflowContainerImage()
(experimental) Container image to use for GitHub workflows.Default: - default image
-
getWorkflowNodeVersion
@Stability(Experimental) @Nullable default String getWorkflowNodeVersion()
(experimental) Node version to setup in GitHub workflows if any node-based CLI utilities are needed.For example
publib, the CLI projen uses to publish releases, is an npm library.Default: 18.x
-
getWorkflowRunsOn
@Stability(Experimental) @Nullable default List<String> getWorkflowRunsOn()
(experimental) Github Runner selection labels.Default: ["ubuntu-latest"]
-
getWorkflowRunsOnGroup
@Stability(Experimental) @Nullable default GroupRunnerOptions getWorkflowRunsOnGroup()
(experimental) Github Runner Group selection options.
-
builder
@Stability(Experimental) static PublisherOptions.Builder builder()
- Returns:
- a
PublisherOptions.BuilderofPublisherOptions
-
-