+
Skip to content

Fix a bug where save_cache wasn't recognized #85

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

Merged
merged 2 commits into from
Feb 8, 2022
Merged

Conversation

kienstra
Copy link
Member

@kienstra kienstra commented Feb 8, 2022

Background

The restore_cache and save_cache keys don't have to match exactly.

For example, this restore_cache key:

node-deps-{{ arch }}-v1-{{ .Branch }}-

…matches the beginning of this save_cache key:

node-deps-{{ arch }}-v1-{{ .Branch }}-{{ checksum "/tmp/node-project-package.json" }}-{{ checksum "/tmp/node-project-lockfile" }}

…and that's enough.

Testing instructions

@kienstra kienstra merged commit 6766074 into develop Feb 8, 2022
@kienstra kienstra deleted the fix/restore-cache branch February 8, 2022 05:10
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.

1 participant
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载