Does anybody have a working GitHub Actions file to...
# compose-desktop
m
Does anybody have a working GitHub Actions file to build and package a linux installer for a compose desktop application. I have already built the macOS and Windows variants on my own computers but I normally don’t use Linux, so a GitHub Action seems to be the fastest solution to get an installer for linux too.
m
Many thanks. I’ll have a look.
@Arkadii Ivanov It works. Thanks again. That saved me some time. One hint though in case you should ever try to build a release version. Don’t use Java 19. The version of proguard used by compose (7.2.2) is not compatible with Java 19. Maybe the newer version 7.3.2 is but I don’t know. I just switched back to Java 17.
a
Thanks for the info!
m
There is one more issue. The debian installer will fail to install on a Debian distribution because the latest Ubuntu uses zstd compression which is not supported by Debian. (Tested on Debian 10 and 11) I solved the issue by using an older
ubuntu-20.04
for the runner. The so generated installer does work on Debian. See: https://stackoverflow.com/questions/71196872/how-do-i-build-a-deb-without-zstd-compression-in-ubuntu-21-10