intellij-platform-plugin-verifier-action icon indicating copy to clipboard operation
intellij-platform-plugin-verifier-action copied to clipboard

Allow users to specify download directory for IDEs to make use of GitHub Caching

Open ChrisCarini opened this issue 4 years ago • 5 comments

From @YannCebron on JetBrains Platform Slack:

one thing I’d like to see, is ability to specify download directory for specified IDEs so one can use caching to avoid redownloading GB’s of IDE distributions on each run

CC: @hsz

ChrisCarini avatar May 28 '20 06:05 ChrisCarini

GH's v2 @actions/cache NPM package may make this better in typescript land: https://github.blog/changelog/2020-05-27-github-actions-v2-cache-actions/

ChrisCarini avatar May 28 '20 06:05 ChrisCarini

Wouldn't it be better to use the GitHub tool-cache for this?

filiphr avatar Oct 04 '20 09:10 filiphr

Hi @filiphr ! Thank you for sharing this, I had not seen it before! Based on a quick look, I believe using tool-cache would require this GH action to be written in JS/TS. This is something that I actually started on a while ago and just haven't had time to clean up. Once I pick that back up, I will certainly try to incorporate tool-cache - one of the slowest parts of this action is downloading the IDEs, especially if there are several specified.

Thank you, again, for pointing this out and making me aware of tool-cache, this seems very promising!

ChrisCarini avatar Oct 04 '20 19:10 ChrisCarini