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

GitHub CI: switch to actions/cache@v2 #407

Merged
merged 3 commits into from
Jun 12, 2020
Merged

GitHub CI: switch to actions/cache@v2 #407

merged 3 commits into from
Jun 12, 2020

Conversation

mzabaluev
Copy link
Contributor

There's a bug in v1 that keeps the registry index cache in an old state that's started breaking the builds.

There is still a bug in v2 as well, that results in separate cache values made by Windows jobs due to issues with parameter normalization, but this will self-correct once the action bug is fixed.

@mzabaluev
Copy link
Contributor Author

It was not the index state (though v1 does bug out and gives us an old cache value), it's a regression in nightly cargo: rust-lang/cargo#8351

@mzabaluev

This comment has been minimized.

Mikhail Zabaluev added 3 commits June 12, 2020 16:16
There's a bug in v1 that keeps the registry index cache
in an old state that's started breaking the builds.

There is still a bug in v2 as well that results in separate cache values
made by Windows jobs due to issues with parameter normalization,
but this will self-correct once the action bug is fixed.
This resulted in the index being stored at
cargo-index-v2- and used from that key in subsequent
runs.
@mzabaluev
Copy link
Contributor Author

v1 does bug out and gives us an old cache value

That was not true either, it was a typo on my part. Well, now that I have ported the thing anyway...

@mzabaluev mzabaluev merged commit 1210359 into master Jun 12, 2020
@mzabaluev mzabaluev deleted the github-cache-v2 branch June 12, 2020 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant