Skip to content

Suggest adding arch to cache key #33

Open
@andy5995

Description

@andy5995

const cache_key = `setup-sdl-${project}-${project_hash}`;

Something like this I think is all that would be needed for this action to work in jobs using arm64 GitHub runners that have x64 builds in a matrix. (see error on libsdl-org/SDL_net#131)

const arch = process.arch;  // returns 'x64', 'arm64', etc.
const cache_key = `setup-sdl-${project}-${project_hash}-${arch}`; 

If you're interested, I'll submit a PR.

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