Closed bartekpacia closed 8 months ago
Ping @subosito. I think this implementation is good enough (it surely is for my use case :) ). flutter precache
is smart enough to only download artifacts for platforms which can be targeted from the current one - i.e. it won't download ios
and macos
artifacts on a Linux machine. More details: https://github.com/flutter/flutter/issues/144656
I just realized that this PR doesn't make sense. The archives that this action downloads already contain all the relevant artifacts:
For example take a look at contents of these directories:
These Linux archive already contain:
bin/cache/artifacts/material_fonts
bin/cache/artifacts/engine/android-arm64
(with -profile
and -release
variants)
and so onThe macOS archive also contains macOS- and iOS-specific stuff like bin/cache/artifacts/ios-deploy/ios-deploy
.
resolves #256 (what a nice round number!)