Skip to content

Hardcoded cache key prevents multiple workflows or jobs from caching emsdk #20

@lopopolo

Description

@lopopolo

The cache key for the GitHub Actions cache of emsdk is hardcoded:

const cacheKey = `${emArgs.version}-${os.arch()}-master`;

This prevents multiple CI jobs or workflows from using this action and caching the results.

Can this key include the workflow name and job? Alternatively, can overriding it be exposed as an action parameter?

The code samples in the README seem to indicate that users should use actions/cache on their own. Why does this action also invoke @actions/cache?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions