You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: Simplify and consolidate GitHub Actions build workflow
This commit refactors the `build-desktop.yml` GitHub Actions workflow to streamline the build and release process.
- **Permissions:** Adds `contents: write` permission to allow the `release` job to create a GitHub Release and upload artifacts.
- **Build Matrix Simplification:** Consolidates the build matrix by removing redundant entries for each specific package format (`dmg`, `pkg`, `msi`, `deb`). Instead, it now uses a single entry per operating system (`macos`, `windows`, `linux`).
- **Gradle Task Consolidation:** Replaces specific Gradle tasks like `packageDmg`, `packageMsi`, etc., with the more general `packageDistributionForCurrentOS`. This task automatically builds all configured native distribution formats for the running OS.
- **Artifact Generation:** Adds `packageUberJarForCurrentOS` to the build step to ensure a standalone "fat" JAR is created for all platforms.
- **Release Artifact Paths:** Updates the artifact upload and release attachment paths to correctly locate all generated packages (`.dmg`, `.pkg`, `.msi`, `.exe`, `.deb`, `.rpm`, `.jar`) from the unified build output directories.
0 commit comments