Skip to content

Commit 5d012e5

Browse files
committed
ci(desktop, macOS): package dmg
1 parent df4b1b9 commit 5d012e5

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

.github/workflows/pull-request.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,25 @@ jobs:
6060
with:
6161
name: NeoRegex-windows-packages
6262
path: application/build/compose/binaries/main-release/exe/*.exe
63-
path: application/build/distribution/*.exe
63+
64+
build-macos:
65+
runs-on: macos-latest
66+
steps:
67+
- name: Checkout
68+
uses: actions/checkout@v4
69+
70+
- name: Setup JDK
71+
# TODO: replace this once https://github.com/actions/setup-java/pull/637 gets merged.
72+
uses: gmitch215/setup-java@6d2c5e1f82f180ae79f799f0ed6e3e5efb4e664d
73+
with:
74+
java-version: '17'
75+
distribution: 'jetbrains'
76+
77+
- name: Package dmg
78+
run: ./gradlew application:packageReleaseDmg
79+
80+
- name: Upload
81+
uses: actions/upload-artifact@v4
82+
with:
83+
name: NeoRegex-macos-packages
84+
path: application/build/compose/binaries/main-release/dmg/*.dmg

0 commit comments

Comments
 (0)