Skip to content

Commit 513ddd3

Browse files
committed
fix: cli is not currently working in native because of JNA usage
A possible option would be to revive https://github.com/quarkiverse/quarkus-jna to support JNA in native mode
1 parent d079a44 commit 513ddd3

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/native-build.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,18 @@ jobs:
4343

4444
- name: 'Build Native Image'
4545
run: |
46-
mvn -ntp -B --file pom.xml -Pnative package -DskipTests -pl server,cli
46+
# mvn -ntp -B --file pom.xml -Pnative package -DskipTests -pl server,cli
47+
mvn -ntp -B --file pom.xml -Pnative package -DskipTests -pl server
4748

4849
- name: 'Create distribution'
4950
run: |
50-
mvn -ntp -B --file pom.xml -Pdist package -DskipTests -pl server,cli
51+
# mvn -ntp -B --file pom.xml -Pdist package -DskipTests -pl server,cli
52+
mvn -ntp -B --file pom.xml -Pdist package -DskipTests -pl server
5153

5254
- name: 'Upload build artifact'
5355
uses: actions/upload-artifact@v5
5456
with:
5557
name: power-server-${{ runner.os }}-${{ runner.arch }}
5658
path: |
5759
server/target/distributions/*.tar.gz
58-
cli/target/distributions/*.tar.gz
60+
# cli/target/distributions/*.tar.gz

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ jobs:
117117
env:
118118
JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
119119
run: |
120-
mvn -ntp -B --file pom.xml -Prelease -DartifactsDir=artifacts jreleaser:full-release -pl server,cli
120+
# mvn -ntp -B --file pom.xml -Prelease -DartifactsDir=artifacts jreleaser:full-release -pl server,cli
121+
mvn -ntp -B --file pom.xml -Prelease -DartifactsDir=artifacts jreleaser:full-release -pl server
121122

122123
- name: 'JReleaser output'
123124
if: always()

0 commit comments

Comments
 (0)