GHA Scala Library Release Workflow

April 4, 2024 ยท View on GitHub

Publishing Scala libraries to Maven Central using GitHub Actions (GHA), keeping release credentials isolated securely from the library build

image

This workflow is a good choice if your organisation has lots of developers who want a secure, low-config way to publish releases of Scala libraries!

See the docs for information on:

  • Configuration - Start here to set up a repo use gha-scala-library-release-workflow!
  • Credentials - how to grant a repository access to the credentials needed for release
  • Making a Release - how to trigger the workflow to publish a new release
  • Security Design - how the workflow keeps your release credentials isolated from potentially dangerous code in your library's dependencies

https://github.com/guardian/gha-scala-library-release-workflow/assets/52038/ec18f213-5d85-4eff-9742-2a158d79b04b