Skip to content

Action fails without JDK set #4

@DominikZig

Description

@DominikZig

It seems this action fails with:

Output project model path does not exist after autobuilder execution: /home/runner/work/_temp/seqra-artifacts/c5b66e8835af89c2884bfc900deead026704a5d8/project
Autobuilder failed to compile the project
Native compilation has failed: all Java resolution attempts failed
there was a problem during the compile step, check the full logs: /tmp/seqra/logs/2026-01-26_10-44-00.log

╭─Suggestions─╮
╰─┬───────────╯
  └── If native compilation fails due to missing required Java, set JAVA_HOME according to the project's requirements or try Docker-based compilation:
      └── seqra compile . --compile-type docker --output /home/runner/work/_temp/seqra-artifacts/c5b66e8835af89c2884bfc900deead026704a5d8/project

Adding uses: actions/setup-java@v4 as an intermediary step to install a JDK seems to fix it. It would be good if this was documented.

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions