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
Copy file name to clipboardExpand all lines: README.md
+1-12Lines changed: 1 addition & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@ See ["Caching dependencies to speed up workflows"](https://help.github.com/githu
10
10
11
11
## What's New
12
12
### v3
13
+
* Added support for caching from GHES 3.5.
13
14
* Fixed download issue for files > 2GB during restore.
14
15
* Updated the minimum runner version support from node 12 -> node 16.
15
16
@@ -176,18 +177,6 @@ steps:
176
177
177
178
> Note: The `id` defined in `actions/cache` must match the `id` in the `if` statement (i.e. `steps.[ID].outputs.cache-hit`)
178
179
179
-
## Known limitation
180
-
181
-
- `action/cache`is currently not supported on GitHub Enterprise Server. <https://github.com/github/roadmap/issues/273> is tracking this.
182
-
183
-
Since GitHub Enterprise Server uses self-hosted runners, dependencies are typically cached on the runner by whatever dependency management tool is being used (npm, maven, etc.). This eliminates the need for explicit caching in some scenarios.
184
-
185
-
## Changelog schedule and history
186
-
187
-
| Status | Version | Date | Highlights |
188
-
|:---|:---|:---|:---|
189
-
| Published | v3.0.0 | Mar 21st, 2022 | - Updated minimum runner version support from node 12 -> node 16 <br> |
190
-
191
180
## Contributing
192
181
We would love for you to contribute to `actions/cache`, pull requests are welcome! Please see the [CONTRIBUTING.md](CONTRIBUTING.md) for more information.
"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.";
"An internal error has occurred in cache backend. Please check https://www.githubstatus.com/ for any ongoing issue in actions.";
"Cache action is not supported on GHES. See https://github.com/actions/cache/issues/505 for more details"
75
+
});
76
+
77
+
test("restore on GHES without AC available should no-op",async()=>{
"Cache action is not supported on GHES. See https://github.com/actions/cache/issues/505 for more details"
117
+
});
118
+
119
+
test("save on ghes without AC available should no-op",async()=>{
@@ -37525,6 +37523,19 @@ function getInputAsInt(name, options) {
37525
37523
return value;
37526
37524
}
37527
37525
exports.getInputAsInt = getInputAsInt;
37526
+
function isCacheFeatureAvailable() {
37527
+
if (!cache.isFeatureAvailable()) {
37528
+
if (isGhes()) {
37529
+
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.");
37530
+
}
37531
+
else {
37532
+
logWarning("An internal error has occurred in cache backend. Please check https://www.githubstatus.com/ for any ongoing issue in actions.");
utils.logWarning("Cache action is not supported on GHES. See https://github.com/actions/cache/issues/505 for more details");
0 commit comments