Visitar URL original
"Cache not found" and outputs cache-hit is set to empty string instead of boolean · Issue #1116 · actions/cache · GitHub
Skip to content

"Cache not found" and outputs cache-hit is set to empty string instead of boolean #1116

Closed

Description

@petkaantonov

Restoring claims that cache has not been found:

kuva

But it is found:

kuva

Also as you can see from the comparison, ${{ steps.yarn-cache.outputs.cache-hit }} is being evaluated to empty string instead of false or true.

kuva

Runner is ubuntu-22.04 and the cache was created by ubuntu-22.04. It is pure linux-for-linux caching.

Activity

  1. mikeage commented on Feb 20, 2023

    @mikeage

    This appears to be a duplicate of #1110

  2. petkaantonov commented on Feb 20, 2023

    @petkaantonov
    Author

    This appears to be a duplicate of #1110

    No, we dont use osx or cross platform caching.

    The issue starts with

    When creating a simple cache of downloaded content in my Linux steps, and caching it, each Linux machine has no problem mounting the created cache and reusing the content.

    For us the cache doesnt work at all, we are only using linux and simplest possible use case

  3. mikeage commented on Feb 20, 2023

    @mikeage

    Was your cache created before Feb 17th? There's an issue with restoring caches now that were created then, because zstd is no longer being used; only gzip. Despite having the same names, they're not compatible.

    (if not, sorry for the confusion)

  4. petkaantonov commented on Feb 20, 2023

    @petkaantonov
    Author

    Yes, we will try removing the cache and installing from scratch

  5. petkaantonov commented on Feb 20, 2023

    @petkaantonov
    Author

    Removing the cache manually and triggering reinstall worked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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