Skip to content

Releases: sbt/sbt-github-actions

v0.14.2

02 Dec 01:04
v0.14.2
63147de
Compare
Choose a tag to compare
  • Fixed graalvm version specs

v0.14.1

01 Dec 23:26
v0.14.1
Compare
Choose a tag to compare
  • Fixed Java matrix exclusions

v0.14.0

01 Dec 18:28
v0.14.0
Compare
Choose a tag to compare

The main change in this release is removing the dependency on Olafur's excellent (but deprecated) setup-scala action. In its place, the generated builds now depend on the sbt which comes pre-installed in GHA runners along with the setup-java and setup-graalvm actions. Unfortunately, while setup-scala took advantage of Jabba to describe JVMs with a unified string slug, neither setup-java nor setup-graalvm support this type of thing. To resolve this, this release introduces JavaSpec, which is a more typed way of describing JVM and version. This has the advantage of providing more granular and direct control over GraalVM version, though unfortuantely it does mean that compatibility is broken and you will need to update your build.sbt.

It's also worth noting that this change also necessitates a significant change to the way that JVM installation is encoded within ci.yml. In theory this should only be visible within your build logs, but it may be a bit confusing if you're paying close attention. The semantics are the same as they have always been.

  • #91 – Use setup-java/setup-graalvm instead of setup-scala (@djspiewak)
  • #90 – Add params to Run / Sbt (@kubukoz)
  • #87 – Add support for paths and paths-ignore (@rossabaker)
  • #78 – Exclude sbt-github-actions from the sbt-spiewak plugin and link the plugin to the sources in this repository (@vasilmkd)

Thank you so much!

v0.13.0

14 Aug 21:27
v0.13.0
944d69f
Compare
Choose a tag to compare

Special thanks to each and every one of you!

v0.12.0

01 Jun 19:23
v0.12.0
Compare
Choose a tag to compare

Thank you!

v0.11.0

23 May 18:02
v0.11.0
Compare
Choose a tag to compare

The primary change in this release is that we have altered publication target to be Maven Central (Bintray plugins are now deprecated). This should be essentially invisible to end-users, since Maven Central is also on the Sbt default resolver set, and Sbt no longer relies upon Ivy-specific metadata for plugins.

Thank you, everyone!

v0.10.1

18 Jan 21:31
v0.10.1
Compare
Choose a tag to compare
  • Added UseRef to the plugin autoImport scope, as it should have always been

v0.10.0

17 Jan 18:08
v0.10.0
Compare
Choose a tag to compare

This release makes a number of changes which may have a breaking impact on your workflows, even taking into account the scala-steward automatic regeneration. Please check the release notes carefully and update your builds as necessary.

  • Renamed default branch from master to main. The main impact this has is on the githubWorkflowPublishTargetBranches key, which now defaults to releasing from main rather than releasing from master.
  • Added support for job containers via the container field of WorkflowJob. This functionality is not yet exposed directly in sbt settings.
  • Added githubWorkflowBuildMatrixFailFast, which makes it possible to configure the fail-fast property the build job. The default behavior is to accept the GitHub Actions default, which is to fail fast (i.e. if any branch of the matrix fails, the remainder are canceled). (@amesgen)
  • Generalized WorkflowStep.Use to allow for local and docker references. Any existing Use call-sites will need to have their ref parameters wrapped in UseRef.Public

v0.9.5

16 Nov 22:24
v0.9.5
Compare
Choose a tag to compare

In retrospect, this probably should have been 0.10.0 given the changes involved. Need to come up with a proper versioning strategy here since almost everything we change will break builds.

  • Updated WorkflowStep.ComputeVar to use $GITHUB_ENV rather than the deprecated (and removed) set-env
  • Added ComputePrependPATH as a replacement for add-path (similar to the above)
  • Fixed issue where githubWorkflowScalaVersions was ignored (@amesgen)
  • Allow configuration of the fail-fast strategy (@amesgen)
  • Use the cache v2 action to dry up builds (@joroKr21)
  • Documentation fixes, mostly from @fthomas

Thank you all!

v0.9.4

03 Nov 15:39
v0.9.4
877915c
Compare
Choose a tag to compare
  • Updated olafurpg/setup-scala to the latest, fixing build warnings and improving compatibility (@ahjohannessen)