flutter-action icon indicating copy to clipboard operation
flutter-action copied to clipboard

Allow us to set flutter tools directory

Open ekasetiawans opened this issue 2 years ago • 0 comments

Currently, the flutter tools will be saved at ${RUNNER_TEMP}/flutter. I have an issue when I run the action on self-hosted runner and I have multiple projects with different flutter channel (for example some projects using master channel and also others using stable). It's can be solved with executing extra step to change the flutter channel, but it will take more runner execution time to download the sdk.

If we able to set the tools directory for example ${RUNNER_TEMP}/flutter_master for master channel or ${RUNNER_TEMP}/flutter_stable for stable channel, then it will make our runner execution faster because the runner will not re-downloading the sdk if it already downloaded.

ekasetiawans avatar May 11 '22 09:05 ekasetiawans