mirror of
https://github.com/actions/cache.git
synced 2025-04-21 19:46:46 +00:00
Updated the GHES warning message (#925)
* changed the error message * format * review comment
This commit is contained in:
parent
1bc650b06c
commit
1a78ace131
4 changed files with 8 additions and 5 deletions
|
@ -81,7 +81,8 @@ export function isCacheFeatureAvailable(): boolean {
|
|||
if (!cache.isFeatureAvailable()) {
|
||||
if (isGhes()) {
|
||||
logWarning(
|
||||
"Cache action is only supported on GHES version >= 3.5. If you are on version >=3.5 Please check with GHES admin if Actions cache service is enabled or not."
|
||||
`Cache action is only supported on GHES version >= 3.5. If you are on version >=3.5 Please check with GHES admin if Actions cache service is enabled or not.
|
||||
Otherwise please upgrade to GHES version >= 3.5 and If you are also using Github Connect, please unretire the actions/cache namespace before upgrade (see https://docs.github.com/en/enterprise-server@3.5/admin/github-actions/managing-access-to-actions-from-githubcom/enabling-automatic-access-to-githubcom-actions-using-github-connect#automatic-retirement-of-namespaces-for-actions-accessed-on-githubcom)`
|
||||
);
|
||||
} else {
|
||||
logWarning(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue