Commit 7463733
committed
chore: Refine desktop build workflow and artifact paths
This commit refactors the `build-desktop.yml` GitHub Actions workflow to streamline the build process and improve artifact handling.
The macOS build matrix has been updated to use `macos-13` for Intel builds, removing the need for a manual JDK installation. Additionally, the artifact upload paths have been refined to only include specific package formats (`.dmg`, `.deb`, `.msi`), ensuring that only final distributable files are archived.
### Key Changes:
* **Build Matrix (`build-desktop.yml`):**
* Updated the macOS Intel build to run on `os: macos-13`, which natively supports x64 architecture.
* Removed the manual download and setup of an Intel JDK, simplifying the workflow steps.
* Added descriptive comments for each operating system in the build matrix.
* **Artifact Paths:**
* The `actions/upload-artifact` step now uses more specific path patterns to upload only `.dmg`, `.deb`, and `.msi` packages.
* Paths for `.pkg`, `.jar`, and raw `.app` directories have been commented out to exclude them from the final build artifacts.
* **Minor Refinements:**
* Renamed the "Make gradlew executable" step to "Grant execute permission for Gradlew" for clarity.1 parent 091b099 commit 7463733
1 file changed
+18
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | | - | |
19 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | | - | |
| 24 | + | |
| 25 | + | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
| 29 | + | |
| 30 | + | |
26 | 31 | | |
27 | 32 | | |
28 | 33 | | |
| |||
31 | 36 | | |
32 | 37 | | |
33 | 38 | | |
34 | | - | |
35 | | - | |
| 39 | + | |
36 | 40 | | |
37 | 41 | | |
38 | 42 | | |
39 | 43 | | |
40 | 44 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
| 45 | + | |
| 46 | + | |
50 | 47 | | |
51 | 48 | | |
52 | 49 | | |
| |||
56 | 53 | | |
57 | 54 | | |
58 | 55 | | |
59 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
60 | 63 | | |
61 | 64 | | |
62 | 65 | | |
| |||
0 commit comments