Skip to content

Commit

Permalink
feat(dsl): default to null url for environment (#1452)
Browse files Browse the repository at this point in the history
  • Loading branch information
krzema12 committed May 13, 2024
1 parent bf64166 commit c8bf749
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions github-workflows-kt/api/github-workflows-kt.api
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ public final class io/github/typesafegithub/workflows/domain/Credentials {

public final class io/github/typesafegithub/workflows/domain/Environment {
public fun <init> (Ljava/lang/String;Ljava/lang/String;)V
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1 ()Ljava/lang/String;
public final fun component2 ()Ljava/lang/String;
public final fun copy (Ljava/lang/String;Ljava/lang/String;)Lio/github/typesafegithub/workflows/domain/Environment;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ package io.github.typesafegithub.workflows.domain
*/
public data class Environment(
val name: String,
val url: String?,
val url: String? = null,
)

0 comments on commit c8bf749

Please sign in to comment.