Commit b8c2963
committed
Refactor CD workflow for multi-platform support
Modified .github/workflows/cd.yml to enable building and packaging on macOS, Linux, and Windows.
Key changes:
- Updated the build job to run on a matrix of `ubuntu-latest`, `macos-latest`, and `windows-latest`.
- Adapted the `jpackage` command for cross-platform compatibility by removing the Windows-specific `--win-console` option. The `--type app-image` is used to generate platform-specific application bundles.
- Modified the artifact upload step to name artifacts with the pattern `https-proxy-${{ matrix.os }}-${{ inputs.version }}` for clarity and platform distinction.
This change allows the project to distribute platform-specific executables for a wider range of users. Manual testing of the workflow is recommended to ensure correct operation on all platforms.1 parent 141d121 commit b8c2963
1 file changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
| |||
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
30 | | - | |
| 33 | + | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
35 | | - | |
| 38 | + | |
36 | 39 | | |
37 | 40 | | |
38 | 41 | | |
0 commit comments