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

[Core feature request] Make fun Workflow.generateYaml public #1468

Closed
mareklangiewicz opened this issue May 26, 2024 · 0 comments · Fixed by #1486
Closed

[Core feature request] Make fun Workflow.generateYaml public #1468

mareklangiewicz opened this issue May 26, 2024 · 0 comments · Fixed by #1486
Assignees
Labels
enhancement New feature or request

Comments

@mareklangiewicz
Copy link

Allow to use github-workflows-kt in other projects to just generate correct YAML content for github workflows.
Needed when the other project is responsible for updating/maintaining source files, instead of kotlin-script based solution as in primary github-workflows-kt use-case.

https://kotlinlang.slack.com/archives/C02UUATR7RC/p1716669024287939?thread_ts=1716656920.737169&cid=C02UUATR7RC

@mareklangiewicz mareklangiewicz added the enhancement New feature or request label May 26, 2024
@krzema12 krzema12 self-assigned this May 31, 2024
krzema12 added a commit that referenced this issue Jun 9, 2024
Closes #1468.

It was possible in 1.x, and this possibility was removed because I
assumed no one needs it. It turns out that some users prefer writing the
YAML themselves. This simple backward-compatible change gives more
freedom to the users of the lib.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants