Skip to content

Commit 5b6a667

Browse files
committed
fix: update CI/CD workflows to install fakeroot before jpackage
- Modified the build and test workflows to include the installation of fakeroot prior to executing the jpackage command, ensuring successful packaging of the application for multi-architecture builds.
1 parent ad1cdbd commit 5b6a667

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ jobs:
165165
-v $(pwd):/workspace \
166166
-w /workspace \
167167
arm64v8/eclipse-temurin:21-jdk \
168-
bash -c "jpackage --main-jar data-caterer.jar '@misc/jpackage/jpackage.cfg' '@misc/jpackage/jpackage-linux.cfg'"
168+
bash -c "apt-get update && apt-get install -y fakeroot && jpackage --main-jar data-caterer.jar '@misc/jpackage/jpackage.cfg' '@misc/jpackage/jpackage-linux.cfg'"
169169
170170
- name: List directory
171171
run: ls -lart

.github/workflows/test-build-linux-aarch64.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
-v $(pwd):/workspace \
7676
-w /workspace \
7777
arm64v8/eclipse-temurin:21-jdk \
78-
bash -c "jpackage --main-jar data-caterer.jar '@misc/jpackage/jpackage.cfg' '@misc/jpackage/jpackage-linux.cfg'"
78+
bash -c "apt-get update && apt-get install -y fakeroot && jpackage --main-jar data-caterer.jar '@misc/jpackage/jpackage.cfg' '@misc/jpackage/jpackage-linux.cfg'"
7979
8080
- name: List directory
8181
run: ls -lart

0 commit comments

Comments
 (0)