Skip to content

Commit

Permalink
fix(server): use correct coordinates and file names in generated GMM …
Browse files Browse the repository at this point in the history
…file (#1608)
  • Loading branch information
Vampire authored Oct 27, 2024
1 parent 165687f commit a5ced58
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
package io.github.typesafegithub.workflows.mavenbinding

import io.github.typesafegithub.workflows.actionbindinggenerator.domain.ActionCoords
import io.github.typesafegithub.workflows.actionbindinggenerator.domain.fullName

internal fun ActionCoords.buildModuleFile() =
"""
{
"formatVersion": "1.1",
"component": {
"group": "$owner",
"module": "$fullName",
"module": "$mavenName",
"version": "$version",
"attributes": {
"org.gradle.status": "release"
Expand All @@ -35,8 +34,8 @@ internal fun ActionCoords.buildModuleFile() =
"dependencies": [],
"files": [
{
"name": "$fullName-$version.jar",
"url": "$fullName-$version.jar",
"name": "$mavenName-$version.jar",
"url": "$mavenName-$version.jar",
"size": 1
}
]
Expand All @@ -55,8 +54,8 @@ internal fun ActionCoords.buildModuleFile() =
"dependencies": [],
"files": [
{
"name": "$fullName-$version.jar",
"url": "$fullName-$version.jar",
"name": "$mavenName-$version.jar",
"url": "$mavenName-$version.jar",
"size": 1
}
]
Expand Down

0 comments on commit a5ced58

Please sign in to comment.