Skip to content

Commit

Permalink
Fallback on other repos
Browse files Browse the repository at this point in the history
  • Loading branch information
kubukoz committed Jul 23, 2024
1 parent 775bcd2 commit 9cf9369
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ object TypelevelCiPlugin extends AutoPlugin {
override def projectSettings: Seq[Setting[_]] = Seq(
Test / Keys.executeTests := {
val results: Tests.Output = (Test / Keys.executeTests).value
GitHubActionsPlugin.appendtoStepSummary(
GitHubActionsPlugin.appendToStepSummary(
renderTestResults(Keys.thisProject.value.id, Keys.scalaVersion.value, results)
)
results
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ object GitHubActionsPlugin extends AutoPlugin {
}
}

private[typelevel] def appendtoStepSummary(summaryText: String) =
private[typelevel] def appendToStepSummary(summaryText: String) =
Option(System.getenv("GITHUB_STEP_SUMMARY")).map { summaryFile =>
IO.write(new File(summaryFile), summaryText, append = true)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,11 @@ object TypelevelSonatypeCiReleasePlugin extends AutoPlugin {
|resolvers += "${repo.name}" at "${repo.root}"
|```
|""".stripMargin

case _ => ""
}

GitHubActionsPlugin.appendtoStepSummary(
GitHubActionsPlugin.appendToStepSummary(
s"""|## Published `$v`
|${resolver}""".stripMargin
)
Expand Down

0 comments on commit 9cf9369

Please sign in to comment.