File tree Expand file tree Collapse file tree 4 files changed +27
-9
lines changed Expand file tree Collapse file tree 4 files changed +27
-9
lines changed Original file line number Diff line number Diff line change @@ -20,15 +20,19 @@ jobs:
20
20
with :
21
21
p12-file-base64 : ${{ secrets.MACOS_DEV_CERT }}
22
22
p12-password : ${{ secrets.MACOS_DEV_CERT_PASSWORD }}
23
- - run : |
23
+ - name : Build
24
+ run : |
24
25
chmod 755 mvnw
25
26
./mvnw clean package --batch-mode --no-transfer-progress
26
- - run : |
27
+ - name : Create executable
28
+ id : vars
29
+ run : |
27
30
$JAVA_HOME/bin/jpackage @target/jpackage-macos.args --type dmg
31
+ echo "distr_name=$(cd target/distr/macos && ls *.dmg)" >> $GITHUB_OUTPUT
28
32
- name : Notarize Release Build
29
33
uses : lando/notarize-action@v2
30
34
with :
31
- product-path : target/distr/macos/ZooInspectorN-1.1.dmg
35
+ product-path : target/distr/macos/${{ steps.vars.outputs.distr_name }}
32
36
appstore-connect-username : ${{ secrets.MACOS_NOTARIZATION_USERNAME }}
33
37
appstore-connect-password : ${{ secrets.MACOS_NOTARIZATION_PASSWORD }}
34
38
appstore-connect-team-id : ${{ secrets.MACOS_NOTARIZATION_TEAM_ID }}
49
53
- run : |
50
54
./mvnw clean package --batch-mode --no-transfer-progress
51
55
- run : |
52
- %JAVA_HOME%\bin\jpackage.exe @target\jpackage-win.args --type exe
56
+ %JAVA_HOME%\bin\jpackage.exe @target\jpackage-win.args ^
57
+ --type exe ^
58
+ --win-per-user-install ^
59
+ --win-shortcut ^
60
+ --win-menu ^
61
+ --win-menu-group ZooInspector ^
62
+ --win-upgrade-uuid a68e451c-3cae-4e4a-bf2b-eedf7c501414
53
63
shell: cmd
54
64
- uses : softprops/action-gh-release@v2
55
65
with :
Original file line number Diff line number Diff line change @@ -8,7 +8,15 @@ set JAVA_HOME=%JAVA17_HOME%
8
8
call mvn clean package -DskipTests
9
9
10
10
" %JAVA_HOME% \bin\jpackage.exe" @ target\jpackage-win.args --type app-image
11
- " %JAVA_HOME% \bin\jpackage.exe" @ target\jpackage-win.args --type exe
12
-
13
-
11
+ " %JAVA_HOME% \bin\jpackage.exe" @ target\jpackage-win.args ^
12
+ --type exe ^
13
+ --win-per-user-install ^
14
+ --win-shortcut ^
15
+ --win-menu ^
16
+ --win-menu-group ZooInspector ^
17
+ --win-upgrade-uuid a68e451c-3cae-4e4a-bf2b-eedf7c501414
18
+
19
+ rem --win-dir-chooser ^
20
+ rem --win-shortcut-prompt ^
21
+
14
22
endlocal
Original file line number Diff line number Diff line change 6
6
--mac-sign
7
7
--app-version ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}
8
8
--main-jar ${project.build.finalName}.jar
9
-
9
+ --java-options "-XX:MinHeapFreeRatio=15 -XX:MaxHeapFreeRatio=30"
Original file line number Diff line number Diff line change 5
5
--vendor Viktor44
6
6
--app-version ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}
7
7
--main-jar ${project.build.finalName}.jar
8
-
8
+ --java-options "-XX:MinHeapFreeRatio=15 -XX:MaxHeapFreeRatio=30"
You can’t perform that action at this time.
0 commit comments