diff --git a/action-binding-generator/src/main/kotlin/io/github/typesafegithub/workflows/actionbindinggenerator/generation/Generation.kt b/action-binding-generator/src/main/kotlin/io/github/typesafegithub/workflows/actionbindinggenerator/generation/Generation.kt index fae310210f..7ed27f4f41 100644 --- a/action-binding-generator/src/main/kotlin/io/github/typesafegithub/workflows/actionbindinggenerator/generation/Generation.kt +++ b/action-binding-generator/src/main/kotlin/io/github/typesafegithub/workflows/actionbindinggenerator/generation/Generation.kt @@ -88,7 +88,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, @@ -96,7 +96,7 @@ public fun ActionCoords.generateBinding( classNameAndSourceCodeTyped?.let { (className, actionBindingSourceCode) -> 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 = inputTypingsResolved.second, diff --git a/action-binding-generator/src/test/kotlin/io/github/typesafegithub/workflows/actionbindinggenerator/Utils.kt b/action-binding-generator/src/test/kotlin/io/github/typesafegithub/workflows/actionbindinggenerator/Utils.kt index 63f2046cd2..ecc63b1154 100644 --- a/action-binding-generator/src/test/kotlin/io/github/typesafegithub/workflows/actionbindinggenerator/Utils.kt +++ b/action-binding-generator/src/test/kotlin/io/github/typesafegithub/workflows/actionbindinggenerator/Utils.kt @@ -21,7 +21,7 @@ fun List.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