Skip to content

Github Actions isn't working with the gradle cache anymore #1152

@zach-klippenstein

Description

@zach-klippenstein

Github seems to have stopped recursively expanding environment variables, so our GRADLE_BUILD_CACHE variable that is set to $HOME/.gradle/caches gets resolved literally as $HOME/.gradle/caches, which is obviously not the real path.

Furthermore, ${{ env.HOME }} resolves to the empty string, so I'm not sure how to get the home directory anymore.

Some exploration of what broke was done in #1131.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kotlinAffects the Kotlin library.metaIssues about other issues, project config, CI, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions