Skip to content

Commit df4b1b9

Browse files
committed
ci(desktop, windows): package exe
1 parent eb6c843 commit df4b1b9

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

.github/workflows/pull-request.yml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
java-version: '17'
2121
distribution: 'jetbrains'
2222

23-
- name: Linux packages
23+
- name: Package
2424
run: |
2525
./gradlew application:packageReleaseTarGz
2626
./gradlew application:packageReleaseDeb
@@ -38,3 +38,26 @@ jobs:
3838
with:
3939
name: NeoRegex-linux-packages
4040
path: binaries/*
41+
42+
build-windows:
43+
runs-on: windows-latest
44+
steps:
45+
- name: Checkout
46+
uses: actions/checkout@v4
47+
48+
- name: Setup JDK
49+
# TODO: replace this once https://github.com/actions/setup-java/pull/637 gets merged.
50+
uses: gmitch215/setup-java@6d2c5e1f82f180ae79f799f0ed6e3e5efb4e664d
51+
with:
52+
java-version: '17'
53+
distribution: 'jetbrains'
54+
55+
- name: Package exe
56+
run: ./gradlew application:packageReleaseExe
57+
58+
- name: Upload
59+
uses: actions/upload-artifact@v4
60+
with:
61+
name: NeoRegex-windows-packages
62+
path: application/build/compose/binaries/main-release/exe/*.exe
63+
path: application/build/distribution/*.exe

0 commit comments

Comments
 (0)