Commit 3e80811
committed
refactor: Streamline GitHub Actions release workflow
This commit refactors the `build-desktop.yml` GitHub Actions workflow to improve the artifact handling and release process.
- **Workflow Structure:** Separates the build and release steps into two distinct jobs (`build` and `release`). The `release` job now depends on the successful completion of the `build` job.
- **Artifact Handling:**
- The `build` job now uploads artifacts using a more specific path: `composeApp/build/compose/binaries/main/${{ matrix.format }}/`.
- The `release` job first downloads all build artifacts from the preceding job before creating the GitHub Release.
- **Release Process:** The `softprops/action-gh-release` step is updated to correctly locate the downloaded artifacts (`.dmg`, `.msi`, `.rpm`, `.deb`) within the `composeApp/build/compose/binaries/main/` directory structure for uploading.
- **Cleanup:** Removes a redundant `List Gradle tasks` step from the build job.1 parent 42b8b74 commit 3e80811
File tree
2 files changed
+18
-11
lines changed- .github/workflows
- composeApp
2 files changed
+18
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | 39 | | |
43 | 40 | | |
44 | 41 | | |
| |||
49 | 46 | | |
50 | 47 | | |
51 | 48 | | |
52 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
53 | 61 | | |
54 | | - | |
55 | | - | |
| 62 | + | |
| 63 | + | |
56 | 64 | | |
57 | 65 | | |
58 | 66 | | |
59 | 67 | | |
60 | 68 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
65 | 73 | | |
66 | 74 | | |
67 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
112 | 111 | | |
113 | 112 | | |
114 | 113 | | |
| |||
0 commit comments