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

Add TIMONI_CACHE_DIR variable as another method to set the cache location #475

Merged
merged 1 commit into from
Feb 8, 2025

Conversation

folliehiyuki
Copy link
Contributor

@folliehiyuki folliehiyuki commented Feb 8, 2025

This is useful in CI/CD environment, where one can set the variable globally to a custom location inside the project directory. The cache directory then can be cached as an artifact to be reused by later jobs.

This approach is cleaner than appending --cache-dir flag into every timoni command within the CI config file.

@stefanprodan stefanprodan added the area/cli CLI related issues and pull requests label Feb 8, 2025
Copy link
Owner

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Thanks @folliehiyuki

@stefanprodan stefanprodan merged commit 734e12d into stefanprodan:main Feb 8, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli CLI related issues and pull requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants