Closed kuhnroyal closed 3 years ago
@kuhnroyal I think this is a good idea to have the same path for dart
and flutter
cache. Do you think there is any potential issue with this? In your PR, we will use $FLUTTER_ROOT/.pub-cache
, isn't it?
In your PR, we will use
$FLUTTER_ROOT/.pub-cache
, isn't it?
Yes, exactly.
I don't see any issues. Maybe some private runners need to be re-configured if someone used $HOME/.pub-cache
before, like I do.
Ok, got it. Thanks @kuhnroyal
The action makes the
flutter
anddart
executables available.flutter
uses$FLUTTER_ROOT/.pub-cache
dart
uses$HOME/.pub-cache
It would be great if both use the same path and also if
PUB_CACHE
variable was exported to env. This should only be set if it does not already exist in the env.