get10101 / 10101-PoC

The world needs more Lightning!
MIT License
17 stars 2 forks source link

Cache the results of the generated flutter rust bridge #79

Open holzeis opened 1 year ago

holzeis commented 1 year ago

With https://github.com/itchysats/10101/pull/78 we removed the generated code from the git repository and added a quick fix to generate the flutter rust bridge code in every step where needed.

It would be nice (and faster) if we could cache that bit.

klochowicz commented 1 year ago

apart from results, we might want to cache the command itself: cargo install flutter_rust_bridge (this one takes the most time, especially on macos).

AFAICT rust-actions doesn't cache binaries, but there should be ways around it.