Skip to content

Commit

Permalink
add jpackage for aarch64
Browse files Browse the repository at this point in the history
Update maven-build-installer-unix.yml

test

test

comment arch for macos
  • Loading branch information
elfunesto committed Aug 27, 2024
1 parent 7156019 commit d87f9d9
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/maven-build-installer-unix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
java-package: jdk+fx
cache: 'maven'
- name: Build with Maven
run: mvn -B clean install --file RCaNconstructor/pom.xml
run: mvn -X -B clean install --file RCaNconstructor/pom.xml
- name: Update Automatic Release
uses: marvinpinto/action-automatic-releases@latest
with:
Expand Down
6 changes: 4 additions & 2 deletions RCaNconstructor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,8 @@
<activation>
<os>
<family>mac</family>
<arch>x86_64</arch>
<arch>x64</arch>
<!--<arch>x86_64</arch>-->
</os>
</activation>
<properties>
Expand All @@ -381,7 +382,8 @@
<activation>
<os>
<family>mac</family>
<arch>aarch64</arch>
<arch>x64</arch>
<!--<arch>aarch64</arch>-->
</os>
</activation>
<properties>
Expand Down
10 changes: 10 additions & 0 deletions RCaNconstructor/src/packaging/macaarch64-jpackage.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
--name ${app.name}
--icon ${project.basedir}/app-icon.icns
--dest ${project.build.directory}
--main-jar ${project.build.finalName}.jar
--main-class ${main-class}
--input ${project.build.directory}/dependency
--app-version ${app.version}
--runtime-image ${project.build.directory}/jvm-image
--temp ${project.build.directory}/installer-work
--mac-sign

0 comments on commit d87f9d9

Please sign in to comment.