buildalon/unity-setup

Cache Unity installation files

Closed this issue · 4 comments

Hi!

Have you ever considered testing Github Action cache for Unity installation to make builds faster. Now your CI pipeline redownloads Unity each time you lauch it.

I tried to do that myself, but had some problems with that. I don't know every location of the Unity installation I must cache to preserve Unity Editor. Do you have that information for Ubuntu or have you ever tested that?

Hi @rbetik12! The cache is something you can completely control yourself in a few different ways.

  1. Use Buildalon runner, which does local cache and uses Unity Accelerator
  2. Add cache step to your workflow
  3. Use self hosted Unity Accelerator instance and specify its usage in the cli input of your build steps

Do you have that information for Ubuntu or have you ever tested that?

Yes all of our actions are vetted and tested on GitHub hosted runners as well as our Buildalon runners :)

Now your CI pipeline redownloads Unity each time you launch it.

With our Buildalon runners or a self hosted runner this is not the case :)

@rbetik12 if you have any other questions be sure to reach out on our Discord :)