Skip to content
New issue

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

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

Already on GitHub? # to your account

pre and post build cache hashes are different on windows-latest #17

Open
shrimpwtf opened this issue Jan 31, 2024 · 1 comment
Open
Assignees

Comments

@shrimpwtf
Copy link

before build;
Attempting to restore cache
Generating cache key
Cache does not exist using key setup-rustcargo-v1-win32-d94c355bca58aa4c0186140d125e989ab8395e82

after build:

Size changed 1.63 GB => 313.25 MB (-1.32 GB, -80.81%)
Cleaning target/release before saving
Removing examples and incremental directories
Removing dep-info files (*.d)
Saving cache with key setup-rustcargo-v1-win32-1dbfb78edf8a75329b6134312e65b3ad0c5c67d8

@milesj milesj self-assigned this Jan 31, 2024
@milesj
Copy link
Contributor

milesj commented Feb 2, 2024

@shrimpyuk This is what we use to generate the hash: https://github.com/moonrepo/setup-rust/blob/master/src/cache.ts#L34

Can you run the CI job with debug mode enabled? Maybe the logs will show something.

My other thought is that Cargo.lock is maybe changing?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

No branches or pull requests

2 participants