Skip to content

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

Merged
stefanprodan merged 1 commit into
stefanprodan:mainfrom
folliehiyuki:timoni-env-cache-dir
Feb 8, 2025
Merged

Add TIMONI_CACHE_DIR variable as another method to set the cache location#475
stefanprodan merged 1 commit into
stefanprodan:mainfrom
folliehiyuki:timoni-env-cache-dir

Conversation

@folliehiyuki

@folliehiyuki folliehiyuki commented Feb 8, 2025

Copy link
Copy Markdown
Contributor

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

@stefanprodan stefanprodan left a comment

Copy link
Copy Markdown
Owner

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
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