Skip to content

Commit

Permalink
feat(actions): update mi-kas/kover-report@v1 (#1105)
Browse files Browse the repository at this point in the history
Created automatically.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] committed Nov 14, 2023
1 parent e5c0b1b commit d332431
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion actions/mi-kas/kover-report/v1/commit-hash.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
e211fa9235b1d5399bd87d21c8c4760177300367
aedeaa4ded293f77eecaafc4a213d627b6b97894
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.collections.Map
import kotlin.collections.toList
import kotlin.collections.toTypedArray
Expand All @@ -31,7 +32,7 @@ public data class KoverReportV1 private constructor(
/**
* Path to the generated kover report xml file
*/
public val path: String,
public val path: List<String>,
/**
* Github personal token to add commits to the pull request
*/
Expand Down Expand Up @@ -68,7 +69,7 @@ public data class KoverReportV1 private constructor(
) : RegularAction<KoverReportV1.Outputs>("mi-kas", "kover-report", _customVersion ?: "v1") {
public constructor(
vararg pleaseUseNamedArguments: Unit,
path: String,
path: List<String>,
token: String,
title: String? = null,
updateComment: Boolean? = null,
Expand All @@ -85,7 +86,7 @@ public data class KoverReportV1 private constructor(
@Suppress("SpreadOperator")
override fun toYamlArguments(): LinkedHashMap<String, String> = linkedMapOf(
*listOfNotNull(
"path" to path,
"path" to path.joinToString("\n"),
"token" to token,
title?.let { "title" to it },
updateComment?.let { "update-comment" to it.toString() },
Expand Down

0 comments on commit d332431

Please sign in to comment.