Replies: 1 comment
-
Hi! You just need to configure environment path somewhere else: python {
envPath = '/somewhere/else'
} So virtual environment would be created in /somewhere/else instead of default location. If you want to reference user dir then you'll have to resolve it manually, like this: python {
envPath = '~/.myenv'.replace('~', System.getProperty("user.home"))
} And, of course, if your project is multi-module, then it would be important to override path for all modules (using python) edit: direct support for home user dir reference for envPath would be added in the upcoming version |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, and thank you for this plugin, works like a charm! I have the following question:
ℹ️ how can I optimise build time on github actions?
I'm using the
setup-gradle
action that provides caching [1] of subfolders of the gradle user home ( ~/.gradle/... ), but I cannot cache the python dependencies as they are fetched in folder $CWD/.gradle/pythonWhat would you suggest I do?
Thanks,
Jon
[1] https://github.com/gradle/actions/tree/main/setup-gradle#caching-build-state-between-jobs
Beta Was this translation helpful? Give feedback.
All reactions