Skip to content

Mammoth Cache 0.7.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 20:31
· 90 commits to main since this release
Immutable release. Only release title and notes can be modified.

Mammoth Cache 0.7.0

Release identity

Final tag: v0.7.0
Source commit: e31306c
Promoted candidate: v0.7.0-rc1
Candidate manifest SHA-256: 8b7ec73d57236f89e85046dd37199c05077ed0466f96bc91da64a6ab1a4f5937

Release notes

This release caches the Kotlin DSL accessors that Gradle generates for version
catalogs, and lets pull-request jobs restore from their base branch. It changes
the cache schema, so existing caches start cold once.

Highlights

  • Cache Gradle Kotlin DSL version-catalog accessor workspaces
    (caches/<version>/kotlin-dsl/accessors/<key>-VC/). Gradle generates them for
    Kotlin DSL builds that declare a version catalog. They were previously reported
    as Omitted ... Gradle files outside a supported workspace and regenerated in
    every job. They now travel as complete workspaces, like the -PS plugin-spec
    accessors, with the same conflict handling, usage protection and GC.
  • Exclude Gradle's cleanup bookkeeping under kotlin-dsl/accessors/.internal/ and
    kotlin-dsl/scripts/.internal/. These host-local files were also reported as
    omitted.
  • Read the GitHub event payload. The default branch now comes from the repository
    metadata instead of falling back to main, so repositories with another default
    branch get the default-branch restore fallback without setting
    github-default-branch.
  • Pull-request jobs additionally restore from their base branch, after their own
    <n>/merge lineage and before the default branch. A writable pull-request job
    still publishes only under <n>/merge.

Upgrade notes

  • The internal cache schema moves from 8 to 9. Existing Gradle and Maven caches are
    not reused: the first 0.7.0 run of each job starts cold and publishes a new cache
    generation. There is no migration.
  • Repositories whose default branch is not main and that did not set
    github-default-branch now get the default-branch restore fallback. Workflows
    that set github-default-branch only to work around the main fallback can drop
    it.
  • No action-input changes are required.

Review v0.7.0-rc1 as the first release candidate and use v0.7.0 after final
promotion.

Release assets

  • buildish-mammoth-cache-0.7.0-github-action.zip
  • buildish-mammoth-cache-0.7.0-github-action.zip.asc
  • buildish-mammoth-cache-0.7.0-github-action.zip.sha256
  • buildish-mammoth-cache-0.7.0-github-action.zip.sha512
  • buildish-mammoth-cache-0.7.0-src.tar.gz
  • buildish-mammoth-cache-0.7.0-src.tar.gz.asc
  • buildish-mammoth-cache-0.7.0-src.tar.gz.sha256
  • buildish-mammoth-cache-0.7.0-src.tar.gz.sha512
  • materialized.bundle