-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Update to actions/cache
outputs cache-hit
as string instead of boolean
#10
Comments
The relevant part of the log with debugging enabled, which shows it basically skips downloading the tool where it should download it:
Another option would be to specifically check for the string-return case. |
Seems to be an intended change, so checking for string |
In case anyone needs a temporary workaround: Using |
Holy shit! It's 2024, and GitHub Actions still can't make their type system right! |
I'm keeping this open to track GitHub Actions' type system stupidity. |
actions/cache
outputs cache-hit
as string instead of boolean
actions/cache#1404 has now been reverted by actions/cache#1467. |
Yeah, well, the solution I started and you completed should work in both cases, so I think we're good :-). We'll see whether it will be a problem again. |
I think they have now learned their lesson on not to push breaking changes on minor version. |
Just FYI, a release to actions-cache v4.1.0 breaks this plugin. See actions/cache#1466
This is the output I am seeing:
This could be fixed by setting it fixed in this plugin to 4.0.2, or wait for a release of actions/cache. Any idea for a workaround in the meantime?
The text was updated successfully, but these errors were encountered: