Skip to content

Using github.sha in cache-key prevents cache from being restored (README example) #239

@tbertels

Description

@tbertels

The README example includes cache-key: flatpak-builder-${{ github.sha }} since c0f26db.

Because the github.sha changes with each commit, this effectively prevents the cache from being ever restored, so dependencies are rebuilt every time.

When cache-key isn't set, the default is to use a hash of the manifest.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions