Skip to content

Commit c67ae62

Browse files
committed
ci: Add GitHub Actions workflow for building desktop distributions
This commit introduces a new GitHub Actions workflow (`.github/workflows/build-desktop.yml`) to automate the creation of native desktop application packages. The workflow is triggered on pushes to version tags (e.g., `v1.0.0`). It uses a matrix strategy to build for multiple operating systems: - **macOS:** Generates a `.dmg` file. - **Windows:** Generates an `.msi` file. - **Linux (Ubuntu):** Generates a `.deb` file. Each build job checks out the code, sets up JDK 17, and runs the corresponding Gradle task (`packageDmg`, `packageMsi`, `packageDeb`) to create the native package. The resulting artifact is then uploaded.
1 parent 9466398 commit c67ae62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

composeApp/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ compose {
7878
application {
7979
mainClass = "com.meet.gitbackup.hub.MainKt"
8080
// javaHome = System.getenv("JAVA_HOME")
81-
javaHome = "/Users/meet/Library/Java/JavaVirtualMachines/ms-17.0.15/Contents/Home"
81+
// javaHome = "/Users/meet/Library/Java/JavaVirtualMachines/ms-17.0.15/Contents/Home"
8282

8383
nativeDistributions {
8484
targetFormats(

0 commit comments

Comments
 (0)