Skip to content

Continuous Integration

Danny Thomas edited this page Sep 17, 2026 · 1 revision

Continuous Integration

Refer to the minimal bootstrap script for the steps to produce a ja development JDK for continuous integration. It resolves the ja modules and passes the resulting argument file directly to the source JDK's jlink. Packaged JMODs from the source JDK and resolved modules are retained so subsequent links can replace bundled modules.

GitHub Actions

The setup action links and caches a development JDK, selects it through JAVA_HOME, and adds its commands to PATH:

steps:
  - uses: actions/checkout@v6

  - name: Set up Zulu JDK
    uses: actions/setup-java@v5
    with:
      distribution: zulu
      java-version-file: .java-version

  - name: Set up ja
    uses: Netflix/ja/.github/actions/setup-ja@v0.17.7

A versioned action reference selects the same distribution version, so no separate version input is needed. When pinning the action to a branch or commit instead, pass ja-version explicitly in a with block.

Clone this wiki locally