Hi,
I’m using a GitHub Actions with a custom container image to install and activate Unity to build my project.
Until recently, I’ve had the installation handled by simply downloading the .tar.xz files and decompressing them on the fly (basically curl https://unity.com/.../Unity.tar.xz | tar -xJ), which was relatively fast (3 minutes).
Now I’ve been tasked to also provide builds for macOS and Windows, which is equally easy, but the installation requires to download and unpack the related .pkg files.
And here’s the question: how do I unpack those .pkg files on the command line in Linux.
The documentation only mentions how to install the .pkg files under macOS using the installer command, but doesn’t explain anything about how to handle this on Linux.
For now, I’ve changed the installation process to use the official Unity installer, but this has seen my installation times grow to 15 minutes, which is quite costly.
So, if you could complete the documentation on how to unpack the .pkg files on Linux (ideally with a pipeable tool), or provide .tar.xz bundles as well, I’d be more than thankful.
Cheers.