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
Description:
馃憢 Team, we have recently added support for caching in GHES (target version 3.5). And we saw setup-java action is also using the Action cache service to cache dependency, based on user input, using the actions/cache package of actions/toolkit. Unlike other setup-* actions (like setup-node, setup-python), setup-java actions is not using any explicit condition for GHES (for example like in setup-python we have https://github.com/actions/setup-python/blob/main/src/setup-python.ts#L14-L16) . So for setup-java, no change is required to enable its cache usage on GHES but if you like to check the Action cache service presence before starting caching dependency you can add use this new isFeatureAvailablefunction present in @actions/toolkit 2.0.0 to check the presence of Actions cache service.
You can also refer to this change which we are doing for actions/cache action.
Please let me know if you need more clarification.
As this feature will be required for GHES 3.5 and its feature freeze date is the 5th of April. So we will need to prioritize this so that this change can be completed before the End of this week. This change should be small 馃檱
Activity
tiwarishub commentedon Mar 28, 2022
As this feature will be required for GHES 3.5 and its feature freeze date is the 5th of April. So we will need to prioritize this so that this change can be completed before the End of this week. This change should be small 馃檱
tiwarishub commentedon Mar 28, 2022
cc: @actions/actions-service for visibility
marko-zivic-93 commentedon Apr 4, 2022
We added caching support for GHES.
Closing the issue thread.