Commit 86f7e99
committed
CI: Add GitHub Actions workflow for building desktop app
This commit introduces a GitHub Actions workflow to automate the build process for the ModernADB desktop application.
The workflow will:
- Trigger on push and pull request events to the `main` and `cicd` branches.
- Build the application on `ubuntu-latest`, `windows-latest`, and `macos-latest` runners.
- Set up JDK 21 and Gradle.
- Execute the `./gradlew packageRelease` command to build the native distribution.
- Upload the resulting binaries as artifacts, named `ModernADB-${{ matrix.os }}`.
Additionally, this commit:
- Adds RPM as a target format in `composeApp/build.gradle.kts`.
- Introduces a new Gradle task `packageAll` that depends on `packageMsi`, `packageDmg`, `packageDeb`, and `packageRpm` to build all native distribution packages.1 parent d5d08b2 commit 86f7e99
1 file changed
+11
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
9 | 13 | | |
10 | | - | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
| |||
41 | 44 | | |
42 | 45 | | |
43 | 46 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
| 47 | + | |
| 48 | + | |
48 | 49 | | |
49 | | - | |
50 | 50 | | |
51 | | - | |
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
56 | 55 | | |
57 | 56 | | |
58 | | - | |
59 | 57 | | |
60 | 58 | | |
61 | 59 | | |
62 | 60 | | |
63 | 61 | | |
64 | | - | |
65 | 62 | | |
66 | | - | |
67 | 63 | | |
68 | | - | |
| 64 | + | |
| 65 | + | |
69 | 66 | | |
70 | | - | |
71 | | - | |
72 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
0 commit comments