-
Notifications
You must be signed in to change notification settings - Fork 109
issue with ubuntu 24.04 arm64 and java #928
Copy link
Copy link
Closed
Description
Describe the bug
even if I setup java 21 in github actions,
the crowdin-cli is trying to download and setup java 17, ignoring the system java
erroring out on x64 vs arm64 mismatch
$ crowdin download translations --config ./crowdin.yaml
Downloading java runtime environment for version 17
/bin/sh: 1: /home/runner/.jdeploy/jre/17/jre/zulu17.58.25-ca-crac-jre17.0.15-linux_x64/bin/java: Exec format error
Error: Process completed with exit code 126.
Expected behavior
I expect the CLI to either detect system java OR have a way to tell it where system java is OR download the binaries for correct arch
Environment:
- OS: Ubuntu 24.04 (seems like the same issue on 22.04 too though)
- Github Runners: ubicloud-standard-2-arm-ubuntu-2404
- Version crowdin/cli 4.8.0
Additional context
I'm able to install crowdin via .deb pkg and that correctly detects system java and works just fine
- name: Setup Java 21 for Crowdin CLI
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
- name: Install Crowdin CLI (system package)
run: |
# Install Crowdin CLI system package (uses system Java)
wget https://artifacts.crowdin.com/repo/deb/crowdin.deb -O crowdin.deb
sudo dpkg -i crowdin.deb
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels