Github Actions Cache support

Did anyone get Github Actions (or any ci) to cache openwrt cross-compile toolchains properly?

I tried to cache the entire openwrt build directory, but still, it compiles everything again.
Cache hits, and the directory gets restored, but toolchains compile everytime.

i am building for nanopi-r2s and it takes a whooping 70 minutes to complete the build.
Any suggestions would be appreciated.
Thanks.

1 Like