Skip to content

Commit

Permalink
fix(abg): correct paths in source jar
Browse files Browse the repository at this point in the history
  • Loading branch information
Vampire authored and krzema12 committed Aug 23, 2024
1 parent 73d877a commit 0db75cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public fun ActionCoords.generateBinding(
return listOfNotNull(
ActionBinding(
kotlinCode = actionBindingSourceCodeUntyped,
filePath = "kotlin/io/github/typesafegithub/workflows/actions/$packageName/$classNameUntyped.kt",
filePath = "io/github/typesafegithub/workflows/actions/$packageName/$classNameUntyped.kt",
className = classNameUntyped,
packageName = packageName,
typingActualSource = null,
Expand All @@ -95,7 +95,7 @@ public fun ActionCoords.generateBinding(
)
ActionBinding(
kotlinCode = actionBindingSourceCode,
filePath = "kotlin/io/github/typesafegithub/workflows/actions/$packageName/$className.kt",
filePath = "io/github/typesafegithub/workflows/actions/$packageName/$className.kt",
className = className,
packageName = packageName,
typingActualSource = it,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ fun List<ActionBinding>.shouldContainAndMatchFile(path: String) {
}
val actualContent = binding.kotlinCode.removeWindowsNewLines()

binding.filePath shouldBe "kotlin/io/github/typesafegithub/workflows/actions/johnsmith/$path"
binding.filePath shouldBe "io/github/typesafegithub/workflows/actions/johnsmith/$path"

if (System.getenv("GITHUB_ACTIONS") == "true") {
actualContent shouldBe expectedContent
Expand Down

0 comments on commit 0db75cb

Please sign in to comment.