You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Migrate to new Azul metadata API (from Zulu Discovery API) #795
According to this documentation, the new Metadata API gets promoted in favor of the old Discovery API.
This change were already announced in the beginning of 2023.
I"m not a zulu employee or something, but I guess it make sense to migrate to the new metadata api before they sunset (if its planned 🤷 ) the old Discovery API.
I just want to make you aware of it as I just found it 🙃
Hey there, I'm seeing failed resolutions when attempting to use actions/setup-java@v5 with Zulu JDK 17, which we use for a React Native project.
Action config:
- name: Set up JDK 17uses: actions/setup-java@v5with:
distribution: zulujava-version: 17
GH Workflow output
Trying to resolve the latest version from remote
##[debug]Gathering available versions from 'https://api.azul.com/zulu/download/community/v1.0/bundles/?os=linux&ext=tar.gz&bundle_type=jdk&javafx=false&arch=x86&hw_bitness=64&release_status=ga'
Error: Java setup process failed due to: error code: 520
I can reproduce the failure outside GitHub Actions by requesting the same legacy Discovery API endpoint directly:
Given this issue tracks migration away from the legacy Zulu Discovery API to the newer Azul Metadata API, this looks like a concrete case where the old endpoint is currently breaking CI for distribution: zulu.
Is there a recommended workaround until the Metadata API migration lands in a released actions/setup-java version? For example, should users temporarily pin a specific Zulu archive via jdkFile, use a fork/branch from #998, or wait for a new v5.x release?
Run actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654
Installed distributions
Trying to resolve the latest version from remote
Error: Java setup process failed due to: error code: 520
Error: error code: 520
Still need to figure out how to run the tests locally but if someone wants to approve the GitHub action workflows at least we can see how it does there.
Really appreciate the effort @jameswald! It seems it just started working again. Perhaps it was just a temporary cloudflare issue. I get valid results when requesting from the api link and actions/setup-java@v5 successfully pulled zulu 17 and set it up 🤷
Linking implementation: this is being addressed by PR #1010 (Migrate to the new Azul Metadata API). Tracking it there — this issue should auto-close when #1010 merges.
Activity
v-priya-kinthali commentedon Apr 14, 2025
Hello @StefMa👋,
Thank you for this feature request. We will investigate it and get back to you as soon as we have some feedback.
brien-crean commentedon May 28, 2026
Hey there, I'm seeing failed resolutions when attempting to use
actions/setup-java@v5with Zulu JDK 17, which we use for a React Native project.Action config:
GH Workflow output
Trying to resolve the latest version from remote ##[debug]Gathering available versions from 'https://api.azul.com/zulu/download/community/v1.0/bundles/?os=linux&ext=tar.gz&bundle_type=jdk&javafx=false&arch=x86&hw_bitness=64&release_status=ga' Error: Java setup process failed due to: error code: 520I can reproduce the failure outside GitHub Actions by requesting the same legacy Discovery API endpoint directly:
Given this issue tracks migration away from the legacy Zulu Discovery API to the newer Azul Metadata API, this looks like a concrete case where the old endpoint is currently breaking CI for distribution: zulu.
Is there a recommended workaround until the Metadata API migration lands in a released
actions/setup-javaversion? For example, should users temporarily pin a specific Zulu archive via jdkFile, use a fork/branch from #998, or wait for a new v5.x release?jameswald commentedon May 29, 2026
I think this broke today:
Workflow file:
jameswald commentedon May 29, 2026
I created #1010 with Claude Sonnet 4.6 to implement https://docs.azul.com/core/detailed/metadata-api-migration.html.
Still need to figure out how to run the tests locally but if someone wants to approve the GitHub action workflows at least we can see how it does there.
Edit: I was able to run the tests, all good.
brien-crean commentedon May 29, 2026
Really appreciate the effort @jameswald! It seems it just started working again. Perhaps it was just a temporary cloudflare issue. I get valid results when requesting from the api link and
actions/setup-java@v5successfully pulled zulu 17 and set it up 🤷jameswald commentedon May 29, 2026
Yep, all of my CI jobs were failing consistently for a few hours due to this. Once it was back up I was able to successfully retry the failed jobs.
brunoborges commentedon Jun 23, 2026
Linking implementation: this is being addressed by PR #1010 (Migrate to the new Azul Metadata API). Tracking it there — this issue should auto-close when #1010 merges.