Title: Basic validation workflow fails without useful explanation · Issue #977 · actions/setup-java · GitHub
Open Graph Title: Basic validation workflow fails without useful explanation · Issue #977 · actions/setup-java
X Title: Basic validation workflow fails without useful explanation · Issue #977 · actions/setup-java
Description: Description: When there's a Severity: high failure from npm audit --audit-level=high, the workflow fails Task version: main Platform: Ubuntu macOS Windows Runner type: Hosted Self-hosted Repro steps: Sync a fork of this repository after ...
Open Graph Description: Description: When there's a Severity: high failure from npm audit --audit-level=high, the workflow fails Task version: main Platform: Ubuntu macOS Windows Runner type: Hosted Self-hosted Repro step...
X Description: Description: When there's a Severity: high failure from npm audit --audit-level=high, the workflow fails Task version: main Platform: Ubuntu macOS Windows Runner type: Hosted Self-hosted Repro ...
Opengraph URL: https://github.com/actions/setup-java/issues/977
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Basic validation workflow fails without useful explanation","articleBody":"**Description:**\nWhen there's a `Severity: high` failure from `npm audit --audit-level=high`, the workflow fails\n\n**Task version:**\n`main`\n\n**Platform:**\n- [x] Ubuntu\n- [x] macOS\n- [x] Windows\n\n**Runner type:**\n- [x] Hosted\n- [ ] Self-hosted\n\n**Repro steps:** \n1. Sync a fork of this repository after the release of a new `Severity: high` item but before the corresponding PR is merged to this repository\n\n**Expected behavior:**\nA useful error on the overview explaining what's gone wrong (the severity high entries)\n\n**Actual behavior:**\n\n[](https://github.com/jsoref/setup-java/actions/runs/21627561979)\n\n#### Annotations\n9 errors\n❌ [Basic validation / build (macos-latest)](https://github.com/jsoref/setup-java/actions/runs/21627561979/job/62331530517#step:9:48)\nProcess completed with exit code 1.\n❌ [Basic validation / build (macos-latest)](https://github.com/jsoref/setup-java/actions/runs/21627561979/job/62331530517#step:8:46)\nJava setup process failed due to: Available version not found\n❌ [Basic validation / build (macos-latest)](https://github.com/jsoref/setup-java/actions/runs/21627561979/job/62331530517#step:8:44)\nJava setup process failed due to: Available version not found\n❌ [Basic validation / build (ubuntu-latest)](https://github.com/jsoref/setup-java/actions/runs/21627561979/job/62331530505#step:9:48)\nProcess completed with exit code 1.\n❌ [Basic validation / build (ubuntu-latest)](https://github.com/jsoref/setup-java/actions/runs/21627561979/job/62331530505#step:8:51)\nJava setup process failed due to: Available version not found\n❌ [Basic validation / build (ubuntu-latest)](https://github.com/jsoref/setup-java/actions/runs/21627561979/job/62331530505#step:8:50)\nJava setup process failed due to: Available version not found\n❌ [Basic validation / build (windows-latest)](https://github.com/jsoref/setup-java/actions/runs/21627561979/job/62331530500#step:9:48)\nProcess completed with exit code 1.\n❌ [Basic validation / build (windows-latest)](https://github.com/jsoref/setup-java/actions/runs/21627561979/job/62331530500#step:8:10)\nJava setup process failed due to: Available version not found\n❌ [Basic validation / build (windows-latest)](https://github.com/jsoref/setup-java/actions/runs/21627561979/job/62331530500#step:8:9)\nJava setup process failed due to: Available version not found\n\n---\n\nTo a naive reader, it feels like the problem is \"Java setup process failed due to: Available version not found\", but that _doesn't_ appear to be the problem at all. Note that this is error *also* lousy, but it's out of scope.","author":{"url":"https://github.com/jsoref","@type":"Person","name":"jsoref"},"datePublished":"2026-02-03T11:09:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/977/setup-java/issues/977"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:50ba82cd-d424-1c89-3e83-b35d66492ce0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9FC6:2198A9:D9D366:1216D45:6A4C4E3B |
| html-safe-nonce | a1fb458e49575a80e07e19b6347fc2ea08a7a04274cfacc7bdcb5e0610e0c673 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RkM2OjIxOThBOTpEOUQzNjY6MTIxNkQ0NTo2QTRDNEUzQiIsInZpc2l0b3JfaWQiOiIxMzMyMzY3NjcwOTY4NjAyMTcxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d65a83d1a7113d27f49be35c25598949a51313ccf67ae480b8075fb6270ce624 |
| hovercard-subject-tag | issue:3890697832 |
| github-keyboard-shortcuts | repository,issues,actions,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/actions/setup-java/977/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7f240425119728c9ad4cb31be8ab681c062608f776ab39f0ccc02807b6f68196/actions/setup-java/issues/977 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7f240425119728c9ad4cb31be8ab681c062608f776ab39f0ccc02807b6f68196/actions/setup-java/issues/977 |
| og:image:alt | Description: When there's a Severity: high failure from npm audit --audit-level=high, the workflow fails Task version: main Platform: Ubuntu macOS Windows Runner type: Hosted Self-hosted Repro step... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jsoref |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-preview |
| go-import | github.com/actions/setup-java git https://github.com/actions/setup-java.git |
| octolytics-dimension-user_id | 44036562 |
| octolytics-dimension-user_login | actions |
| octolytics-dimension-repository_id | 196057608 |
| octolytics-dimension-repository_nwo | actions/setup-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 196057608 |
| octolytics-dimension-repository_network_root_nwo | actions/setup-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 65d78903193f110d7a9d1f8587c6dc3cb911aae0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width