Skip to content

Commit a5ced58

Browse files
authored
fix(server): use correct coordinates and file names in generated GMM file (#1608)
1 parent 165687f commit a5ced58

File tree

1 file changed

+5
-6
lines changed
  • maven-binding-builder/src/main/kotlin/io/github/typesafegithub/workflows/mavenbinding

1 file changed

+5
-6
lines changed

maven-binding-builder/src/main/kotlin/io/github/typesafegithub/workflows/mavenbinding/ModuleBuilding.kt

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
package io.github.typesafegithub.workflows.mavenbinding
22

33
import io.github.typesafegithub.workflows.actionbindinggenerator.domain.ActionCoords
4-
import io.github.typesafegithub.workflows.actionbindinggenerator.domain.fullName
54

65
internal fun ActionCoords.buildModuleFile() =
76
"""
87
{
98
"formatVersion": "1.1",
109
"component": {
1110
"group": "$owner",
12-
"module": "$fullName",
11+
"module": "$mavenName",
1312
"version": "$version",
1413
"attributes": {
1514
"org.gradle.status": "release"
@@ -35,8 +34,8 @@ internal fun ActionCoords.buildModuleFile() =
3534
"dependencies": [],
3635
"files": [
3736
{
38-
"name": "$fullName-$version.jar",
39-
"url": "$fullName-$version.jar",
37+
"name": "$mavenName-$version.jar",
38+
"url": "$mavenName-$version.jar",
4039
"size": 1
4140
}
4241
]
@@ -55,8 +54,8 @@ internal fun ActionCoords.buildModuleFile() =
5554
"dependencies": [],
5655
"files": [
5756
{
58-
"name": "$fullName-$version.jar",
59-
"url": "$fullName-$version.jar",
57+
"name": "$mavenName-$version.jar",
58+
"url": "$mavenName-$version.jar",
6059
"size": 1
6160
}
6261
]

0 commit comments

Comments
 (0)