Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for adding to cache key #41

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Jul 13, 2024

  1. Add support for adding to cache key

    When using this action in multiple matrix jobs in the same workflow, the
    generated cache key is the same for all of them, because they all get
    the same job ID. This means that all apart from the first job are unable
    to save the cache, and subsequent runs might restore the wrong cache.
    
    The `Swatinem/rust-cache` action which we use for caching has a `key`
    input which it puts in its cache key. (It doesn't override the key, just
    adds to it.) Providing this as an input here will allow us to generate a
    unique cache key for each job in the matrix.
    iainlane committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    b01657d View commit details
    Browse the repository at this point in the history