github typesafegithub/github-workflows-kt v2.0.0
2.0.0

latest releases: v3.5.0, v3.4.0, v3.3.0...
16 months ago

⭐ Features

📄 Docs

🛠️ Fixes

None.

💣 Breaking changes

  • write to file in workflow builder
    • how to adjust: remove the .writeToFile(...), and move all its arguments to the workflow(...) call
  • change type of sourceFile to File
    • how to adjust: remove .toPath()
  • restructure API for configuring YAML consistency check job
    • how to adjust: see the fields of the new consistencyCheckJobConfig argument (of type ConsistencyCheckJobConfig), you can also build on top of DEFAULT_CONSISTENCY_CHECK_JOB_CONFIG by calling .copy(...) on it. If you don't want the consistency check job, use consistencyCheckJobConfig = ConsistencyCheckJobConfig.Disabled
  • remove toYaml()
    • this use case won't be supported by design anymore - the library is in charge of creating and writing the YAML. If you need to tinker with YAML before it's written to a file, please create an issue describing your use case

▶️ Actions


The above release notes include customer-facing changes.
If you're interested also in internal changes, please see the full changelog: v1.15.0...v2.0.0

Don't miss a new github-workflows-kt release

NewReleases is sending notifications on new releases.