Skip to content
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
7 changes: 1 addition & 6 deletions .github/workflows/bindings-server.main.kts
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,9 @@ workflow(

run(
name = "Compile a Gradle project using the bindings from the server",
// This test depicts the current incorrect behavior, and asserts on
// the Gradle build failing with a specific problem. Once the problem
// is fixed, modify the test to assert on a successful build.
// TODO: https://github.com/typesafegithub/github-workflows-kt/issues/1694
command = """
cd .github/workflows/test-gradle-project-using-bindings-server
(./gradlew build || true) >> output.txt 2>&1
grep "inconsistent module metadata" output.txt
./gradlew build
""".trimIndent(),
)

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/bindings-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ jobs:
name: 'Compile a Gradle project using the bindings from the server'
run: |-
cd .github/workflows/test-gradle-project-using-bindings-server
(./gradlew build || true) >> output.txt 2>&1
grep "inconsistent module metadata" output.txt
./gradlew build
- id: 'step-10'
name: 'Fetch maven-metadata.xml for top-level action'
run: 'curl --fail http://localhost:8080/actions/checkout/maven-metadata.xml | grep ''<version>v4</version>'''
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ internal fun ActionCoords.buildPomFile() =
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>$owner</groupId>
<artifactId>$fullName</artifactId>
<artifactId>$mavenName</artifactId>
<version>$version</version>
<name>$fullName</name>
<description>Auto-generated binding for $prettyPrint.</description>
Expand Down
Loading