Skip to content

Commit 18f08cb

Browse files
committed
fix(abg): correct paths in source jar
1 parent 1c4517c commit 18f08cb

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
@@ -82,7 +82,7 @@ public fun ActionCoords.generateBinding(
8282
return listOfNotNull(
8383
ActionBinding(
8484
kotlinCode = actionBindingSourceCodeUntyped,
85-
filePath = "kotlin/io/github/typesafegithub/workflows/actions/$packageName/$classNameUntyped.kt",
85+
filePath = "io/github/typesafegithub/workflows/actions/$packageName/$classNameUntyped.kt",
8686
className = classNameUntyped,
8787
packageName = packageName,
8888
typingActualSource = null,
@@ -97,7 +97,7 @@ public fun ActionCoords.generateBinding(
9797
)
9898
ActionBinding(
9999
kotlinCode = actionBindingSourceCode,
100-
filePath = "kotlin/io/github/typesafegithub/workflows/actions/$packageName/$className.kt",
100+
filePath = "io/github/typesafegithub/workflows/actions/$packageName/$className.kt",
101101
className = className,
102102
packageName = packageName,
103103
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)