Skip to content

Improve typings - #938

Merged
bigdaz merged 1 commit into
gradle:mainfrom
Vampire:improve-typings
Jun 10, 2026
Merged

bigdaz merged 1 commit into
gradle:mainfrom
Vampire:improve-typings

Conversation

@Vampire

@Vampire Vampire commented Apr 9, 2026 •

Copy link
Copy Markdown

This PR adds a missing enum value, and makes strings that are actually delimited lists those lists, so that you for example in the generated Kotlin bindings can simply do

additionalArguments = listOf(
    "--info",
    "--stacktrace",
    "--show-version"
)

instead of needing to do

additionalArguments = listOf(
    "--info",
    "--stacktrace",
    "--show-version"
).joinToString(" ")

or writing it all in one line as one string.

This is also how the typings for older versions are in the typing catalog.

Theoretically, this is a breaking changes as the typings define the API surface of the action and from the typings bindings are generated. I'll leave it up to you how you handle it regarding version increase or when to merge.

@bigdaz

bigdaz commented Jun 10, 2026

Copy link
Copy Markdown
Member

@Vampire I'm ready to merge this PR, but it's failing the "verified signature" check. Can you rebase on main and push with a signed commit? Thanks!

@Vampire

Vampire commented Jun 10, 2026

Copy link
Copy Markdown
Author

Signed, or Signed-off?

@bigdaz

bigdaz commented Jun 10, 2026

Copy link
Copy Markdown
Member

Signed, or Signed-off?

Signed: a verified signature is required for all commits before merging. Looks good now.

@bigdaz
bigdaz merged commit a740661 into gradle:main Jun 10, 2026
34 of 35 checks passed
@Vampire
Vampire deleted the improve-typings branch June 10, 2026 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants