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

Use persist_to_workspace in CircleCi instead of cache for repo #1575

Open
saraojelind opened this issue Jun 8, 2023 · 0 comments
Open

Use persist_to_workspace in CircleCi instead of cache for repo #1575

saraojelind opened this issue Jun 8, 2023 · 0 comments

Comments

@saraojelind
Copy link
Member

Instead of using cache to load repo in each job, use persist_to_workspace since the code base should be used in all jobs and will always be updated between builds

- save_cache:
key: v1-repo-{{ .Branch }}-{{ .Environment.CIRCLE_SHA1 }}
paths:
- .

Read more about workspaces here

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

No branches or pull requests

1 participant