Title: Check-latest is false, but still tries to resolve latest version. Then fails and just passes without setting up the requested version · Issue #519 · actions/setup-java · GitHub
Open Graph Title: Check-latest is false, but still tries to resolve latest version. Then fails and just passes without setting up the requested version · Issue #519 · actions/setup-java
X Title: Check-latest is false, but still tries to resolve latest version. Then fails and just passes without setting up the requested version · Issue #519 · actions/setup-java
Description: Description: We use v3 of the action and use it to set up adopt jdk 17. It's causing a lot of headaches that it's trying to resolve latest version, it times out and just completes without failing. There's other times where it's actually ...
Open Graph Description: Description: We use v3 of the action and use it to set up adopt jdk 17. It's causing a lot of headaches that it's trying to resolve latest version, it times out and just completes without failing. ...
X Description: Description: We use v3 of the action and use it to set up adopt jdk 17. It's causing a lot of headaches that it's trying to resolve latest version, it times out and just completes without f...
Opengraph URL: https://github.com/actions/setup-java/issues/519
X: @github
Domain: redirect.github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Check-latest is false, but still tries to resolve latest version. Then fails and just passes without setting up the requested version","articleBody":"**Description:**\r\n\r\nWe use v3 of the action and use it to set up adopt jdk 17. It's causing a lot of headaches that it's trying to resolve latest version, it times out and just completes without failing. There's other times where it's actually failing:\r\n\r\n\r\n\r\n**Task version:**\r\nv3\r\n\r\n**Platform:**\r\n- [X] Ubuntu\r\n- [ ] macOS\r\n- [ ] Windows\r\n\r\n**Runner type:**\r\n- [X] Hosted\r\n- [ ] Self-hosted\r\n\r\n**Repro steps:** \r\nStart a matrix of 40-50 jobs all setting up java with:\r\n - name: Set up JDK 17\r\n uses: actions/setup-java@v3\r\n with:\r\n distribution: 'adopt'\r\n java-version: '17'\r\n cache: 'gradle'\r\nIt's guaranteed to happen to at least 5-6 times.\r\n\r\n**Expected behavior:**\r\nIt's expected to set up java 17 from cache if `check-latest: false` is specified and not fail on \"checking latest version\" when it still needs to download it.\r\n\r\n**Actual behavior:**\r\n`check-latest: false` is ignored as seen in screenshot #1, and when a very frequent timeout happens, the acton passes successfully.","author":{"url":"https://github.com/kalmanbencze","@type":"Person","name":"kalmanbencze"},"datePublished":"2023-07-28T12:10:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/519/setup-java/issues/519"}
| 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:e6fdf2b7-7b50-18a5-fc4d-ea73ce892dba |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CB5C:20B2F2:CF9877:116FC18:6A4C48A0 |
| html-safe-nonce | 5349da412f9999aefcc3fbc28b7c0d2c40b25a6e0104f314bb774b3a055f2acf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjVDOjIwQjJGMjpDRjk4Nzc6MTE2RkMxODo2QTRDNDhBMCIsInZpc2l0b3JfaWQiOiI4NDAzNzI4MzY1NDI5NDc1NDg4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | df6660ead006fb5d17ea8c79eff5235c127916eeb10523560926179fe7113a99 |
| hovercard-subject-tag | issue:1826316856 |
| 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/519/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ff0cb4f0a0d225dc861fddb83ba4b898df84233774af782ad861a11197e0eb0b/actions/setup-java/issues/519 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ff0cb4f0a0d225dc861fddb83ba4b898df84233774af782ad861a11197e0eb0b/actions/setup-java/issues/519 |
| og:image:alt | Description: We use v3 of the action and use it to set up adopt jdk 17. It's causing a lot of headaches that it's trying to resolve latest version, it times out and just completes without failing. ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kalmanbencze |
| 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 | 3996b3b83990e134be6c099ab9a7f48f140ae80f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width