Skip to content

Commit 74b0bd6

Browse files
committed
fix(abg): correct paths in source jar
1 parent 4d9951a commit 74b0bd6

File tree

2 files changed

+3
-3
lines changed
  • action-binding-generator/src
    • main/kotlin/io/github/typesafegithub/workflows/actionbindinggenerator/generation
    • test/kotlin/io/github/typesafegithub/workflows/actionbindinggenerator

2 files changed

+3
-3
lines changed

action-binding-generator/src/main/kotlin/io/github/typesafegithub/workflows/actionbindinggenerator/generation/Generation.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public fun ActionCoords.generateBinding(
8181
return listOfNotNull(
8282
ActionBinding(
8383
kotlinCode = actionBindingSourceCodeUntyped,
84-
filePath = "kotlin/io/github/typesafegithub/workflows/actions/$packageName/$classNameUntyped.kt",
84+
filePath = "io/github/typesafegithub/workflows/actions/$packageName/$classNameUntyped.kt",
8585
className = classNameUntyped,
8686
packageName = packageName,
8787
typingActualSource = null,
@@ -96,7 +96,7 @@ public fun ActionCoords.generateBinding(
9696
)
9797
ActionBinding(
9898
kotlinCode = actionBindingSourceCode,
99-
filePath = "kotlin/io/github/typesafegithub/workflows/actions/$packageName/$className.kt",
99+
filePath = "io/github/typesafegithub/workflows/actions/$packageName/$className.kt",
100100
className = className,
101101
packageName = packageName,
102102
typingActualSource = it,

action-binding-generator/src/test/kotlin/io/github/typesafegithub/workflows/actionbindinggenerator/Utils.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ fun List<ActionBinding>.shouldContainAndMatchFile(path: String) {
2121
}
2222
val actualContent = binding.kotlinCode.removeWindowsNewLines()
2323

24-
binding.filePath shouldBe "kotlin/io/github/typesafegithub/workflows/actions/johnsmith/$path"
24+
binding.filePath shouldBe "io/github/typesafegithub/workflows/actions/johnsmith/$path"
2525

2626
if (System.getenv("GITHUB_ACTIONS") == "true") {
2727
actualContent shouldBe expectedContent

0 commit comments

Comments
 (0)