Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(abg): correct paths in source jar #1600

Merged
merged 1 commit into from
Aug 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading