mirror of
https://github.com/actions/cache.git
synced 2025-06-24 19:31:10 +02:00
No-op on GHES
This commit is contained in:
@ -6,6 +6,11 @@ import * as utils from "./utils/actionUtils";
|
||||
|
||||
async function run(): Promise<void> {
|
||||
try {
|
||||
if (utils.isGhes()) {
|
||||
core.info("Cache action is not supported on GHES");
|
||||
return;
|
||||
}
|
||||
|
||||
if (!utils.isValidEvent()) {
|
||||
utils.logWarning(
|
||||
`Event Validation Error: The event type ${
|
||||
|
Reference in New Issue
Block a user