René's URL Explorer Experiment


Title: Gradle cache increases by 400 MB every time updating Gradle wrapper version · Issue #269 · actions/setup-java · GitHub

Open Graph Title: Gradle cache increases by 400 MB every time updating Gradle wrapper version · Issue #269 · actions/setup-java

X Title: Gradle cache increases by 400 MB every time updating Gradle wrapper version · Issue #269 · actions/setup-java

Description: Description: When updating the Gradle wrapper to a new version (changed gradle-wrapper.properties), then setup-java@v2 first restores the gradle cache from previous run (why??) new Gradle version is downloaded and build then setup-java@v...

Open Graph Description: Description: When updating the Gradle wrapper to a new version (changed gradle-wrapper.properties), then setup-java@v2 first restores the gradle cache from previous run (why??) new Gradle version i...

X Description: Description: When updating the Gradle wrapper to a new version (changed gradle-wrapper.properties), then setup-java@v2 first restores the gradle cache from previous run (why??) new Gradle version i...

Opengraph URL: https://github.com/actions/setup-java/issues/269

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Gradle cache increases by 400 MB every time updating Gradle wrapper version","articleBody":"**Description:**\r\nWhen updating the Gradle wrapper to a new version (changed `gradle-wrapper.properties`), then\r\n1. setup-java@v2 first restores the gradle cache from **previous run** (why??)\r\n2. new Gradle version is downloaded and build\r\n3. then setup-java@v2 creates a new cache file (~800 MB) which is about 400 MB larger than before because it contains two Gradle versions\r\n\r\nChanging Gradle wrapper version again increases the cache file size by 400 MB to 1200 MB, and so on...\r\n\r\nHere is a run where it happened: https://github.com/JFormDesigner/FlatLaf/runs/4705134891\r\n\r\nIn \"Setup Java 17\" the outdated cache is restored (https://github.com/JFormDesigner/FlatLaf/runs/4705134891#step:4:35):\r\n~~~\r\nCache Size: ~425 MB (445413982 B)\r\n/usr/bin/tar --use-compress-program zstd -d -xf /home/runner/work/_temp/19b74bcf-0264-4065-b1ef-448c93c2d4fc/cache.tzst -P -C /home/runner/work/FlatLaf/FlatLaf\r\nCache restored successfully\r\nCache restored from key: setup-java-Linux-gradle-707ed6f8250ea8ec2ee660640962308e354fe354d36338715ef1bcab4fcc837f\r\n~~~\r\n\r\nIn \"Post Setup Java 17\" a new cache with ~836 MB is created (https://github.com/JFormDesigner/FlatLaf/runs/4705134891#step:11:5):\r\n~~~\r\nCache Size: ~836 MB (876885346 B)\r\nCache saved successfully\r\nCache saved with the key: setup-java-Linux-gradle-af7e537f7a03362010edc6596ab7fba05bdfb901982028cbd2d21e5291cd932d\r\n~~~\r\n\r\nNote the different hash keys in the cache file names!\r\n\r\n\r\n**Task version:**\r\nactions/checkout@v2\r\n\r\n**Platform:**\r\n- [x] Ubuntu\r\n- [ ] macOS\r\n- [x] Windows\r\n\r\n**Runner type:**\r\n- [x] Hosted\r\n- [ ] Self-hosted\r\n\r\n**Repro steps:**  \r\nSee above description.\r\n\r\n**Expected behavior:**\r\nWhen changing `gradle-wrapper.properties` (or `build.gradle`), then the cache should be not restored.\r\n\r\n**Actual behavior:**\r\nCache is restored even if `gradle-wrapper.properties` (or `build.gradle`) changed, which increases the size of the cache file by aboud 400 MB every time a new Gradle wrapper version is used.","author":{"url":"https://github.com/DevCharly","@type":"Person","name":"DevCharly"},"datePublished":"2022-01-04T17:39:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":18},"url":"https://github.com/269/setup-java/issues/269"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:55cc6e38-6039-5691-fc42-58bd01cbf937
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA98E:2D857A:10C6DCA:16B66CD:6A533A10
html-safe-nonce02cf86cb4264d8bac1b91ed337e75f9a1dc876e241c8af82ad5d1dd8cef7edf0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOThFOjJEODU3QToxMEM2RENBOjE2QjY2Q0Q6NkE1MzNBMTAiLCJ2aXNpdG9yX2lkIjoiMzcxOTQ2MjA3NjkxOTUyNzk1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd9ce756d0db4ce7637f10dec07b81e2a84e5efe1607c74eeee3dadba8341d331
hovercard-subject-tagissue:1093608722
github-keyboard-shortcutsrepository,issues,actions,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/actions/setup-java/269/issue_layout
twitter:imagehttps://opengraph.githubassets.com/47a3ef905c8a1125236b88d6971bf760ec620063c59f641e28d6652602bddef1/actions/setup-java/issues/269
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/47a3ef905c8a1125236b88d6971bf760ec620063c59f641e28d6652602bddef1/actions/setup-java/issues/269
og:image:altDescription: When updating the Gradle wrapper to a new version (changed gradle-wrapper.properties), then setup-java@v2 first restores the gradle cache from previous run (why??) new Gradle version i...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameDevCharly
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-preview
go-importgithub.com/actions/setup-java git https://github.com/actions/setup-java.git
octolytics-dimension-user_id44036562
octolytics-dimension-user_loginactions
octolytics-dimension-repository_id196057608
octolytics-dimension-repository_nwoactions/setup-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id196057608
octolytics-dimension-repository_network_root_nwoactions/setup-java
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/actions/setup-java/issues/269#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Factions%2Fsetup-java%2Fissues%2F269
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Factions%2Fsetup-java%2Fissues%2F269
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=actions%2Fsetup-java
Reloadhttps://github.com/actions/setup-java/issues/269
Reloadhttps://github.com/actions/setup-java/issues/269
Reloadhttps://github.com/actions/setup-java/issues/269
Please reload this pagehttps://github.com/actions/setup-java/issues/269
actions https://github.com/actions
setup-javahttps://github.com/actions/setup-java
Notifications https://github.com/login?return_to=%2Factions%2Fsetup-java
Fork 864 https://github.com/login?return_to=%2Factions%2Fsetup-java
Star 2k https://github.com/login?return_to=%2Factions%2Fsetup-java
Code https://github.com/actions/setup-java
Issues 22 https://github.com/actions/setup-java/issues
Pull requests 5 https://github.com/actions/setup-java/pulls
Actions https://github.com/actions/setup-java/actions
Projects https://github.com/actions/setup-java/projects
Security and quality 0 https://github.com/actions/setup-java/security
Insights https://github.com/actions/setup-java/pulse
Code https://github.com/actions/setup-java
Issues https://github.com/actions/setup-java/issues
Pull requests https://github.com/actions/setup-java/pulls
Actions https://github.com/actions/setup-java/actions
Projects https://github.com/actions/setup-java/projects
Security and quality https://github.com/actions/setup-java/security
Insights https://github.com/actions/setup-java/pulse
Gradle cache increases by 400 MB every time updating Gradle wrapper versionhttps://github.com/actions/setup-java/issues/269#top
https://github.com/dsame
bugSomething isn't workinghttps://github.com/actions/setup-java/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/DevCharly
DevCharlyhttps://github.com/DevCharly
on Jan 4, 2022https://github.com/actions/setup-java/issues/269#issue-1093608722
https://github.com/JFormDesigner/FlatLaf/runs/4705134891https://github.com/JFormDesigner/FlatLaf/runs/4705134891
https://github.com/JFormDesigner/FlatLaf/runs/4705134891#step:4:35https://github.com/JFormDesigner/FlatLaf/runs/4705134891#step:4:35
https://github.com/JFormDesigner/FlatLaf/runs/4705134891#step:11:5https://github.com/JFormDesigner/FlatLaf/runs/4705134891#step:11:5
dsamehttps://github.com/dsame
bugSomething isn't workinghttps://github.com/actions/setup-java/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.