Is your feature request related to a problem? Please describe.
I use GitHub actions to build my Flutter app. I'm running into the issue that it is actually quite difficult to programmatically specify a GitHub action that completes the steps required to implement the light icons. I've re-described the process to generate pro icons here:
Download the web fonts from the FontAwesome website (this does not seem to have a programmatic solution)
Run flutter pub get in the font_awesome_flutter repo, cloned locally. I am currently running it as a submodule in my app repo.
Extract all webfonts/*.ttf fonts from the downloaded web fonts in (1) to font_awesome_flutter/lib/fonts/.
Extract metadata/icons.json to font_awesome_flutter/lib/fonts.
Run util/configurator.sh (or util/configurator.bat on windows)
Set your pubspec.yaml file to refer the local repo. In my case, the local repo is in the project root.
dependencies:
# ...
font_awesome_flutter: ^10.7.0
dependency_overrides:
# Needed for the pro version of font_awesome_flutter
font_awesome_flutter:
path: font_awesome_flutter
This is not easy to do over GitHub actions, or at least I haven't come up with a good solution. Ordinarily I would just check all this stuff into a private repo, but it's all quite large (init.json is ~32mb). Not infeasible but also not an ideal solution.
Describe the solution you'd like
I'm mostly looking for advice from anyone who's been able to handle foreign builds without using some kind of cloud storage. I would like to be able to permit GitHub actions to build my app without intervention from me.
Describe alternatives you've considered
Considered solutions:
Set up cloud storage.
Serve from my local desktop, using an SSH key given to GitHub. Could be sporadically available but may be doable.
Check all assets in to a private repo, pull them down in the action, and carry out steps 2-6 in the Action.
Is your feature request related to a problem? Please describe.
I use GitHub actions to build my Flutter app. I'm running into the issue that it is actually quite difficult to programmatically specify a GitHub action that completes the steps required to implement the light icons. I've re-described the process to generate pro icons here:
flutter pub get
in thefont_awesome_flutter
repo, cloned locally. I am currently running it as a submodule in my app repo.webfonts/*.ttf
fonts from the downloaded web fonts in (1) tofont_awesome_flutter/lib/fonts/
.metadata/icons.json
tofont_awesome_flutter/lib/fonts
.util/configurator.sh
(orutil/configurator.bat
on windows)pubspec.yaml
file to refer the local repo. In my case, the local repo is in the project root.This is not easy to do over GitHub actions, or at least I haven't come up with a good solution. Ordinarily I would just check all this stuff into a private repo, but it's all quite large (
init.json
is ~32mb). Not infeasible but also not an ideal solution.Describe the solution you'd like
I'm mostly looking for advice from anyone who's been able to handle foreign builds without using some kind of cloud storage. I would like to be able to permit GitHub actions to build my app without intervention from me.
Describe alternatives you've considered
Considered solutions:
Additional context
If relevant, the repo is https://github.com/mind-co/comind.