Closed ThibaultBee closed 1 year ago
The github cache action can store multiple paths. See https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#input-parameters-for-the-cache-action
cache
It would be nice if cache-path supports an array of files. It would be usefull to store pubspec.lock and project build directory to improve.
cache-path
Like this:
steps: - uses: actions/checkout@v3 - uses: subosito/flutter-action@v2 with: channel: 'stable' cache: true cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:' # optional, change this to force refresh cache cache-path: | ${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch: # optional, change this to specify the cache path podspec.lock ... # other files
Closing, dup https://github.com/subosito/flutter-action/issues/195
The github
cache
action can store multiple paths. See https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#input-parameters-for-the-cache-actionIt would be nice if
cache-path
supports an array of files. It would be usefull to store pubspec.lock and project build directory to improve.Like this: