Okay so I tested this on my fork and It worked but PR #40 (this) would be committed first which creates the inital cache action that will wait for the TEXLIVE_CACHE_INIT file to be committed and then create the cache on main. the TEXLIVE_CACHE_INIT file in PR #37 comes along with changing the tex and pdf action so that it relies on the built cache.
Okay so I tested this on my fork and It worked but PR #40 (this) would be committed first which creates the inital cache action that will wait for the TEXLIVE_CACHE_INIT file to be committed and then create the cache on main. the TEXLIVE_CACHE_INIT file in PR #37 comes along with changing the tex and pdf action so that it relies on the built cache.