mirror of
https://github.com/actions/cache.git
synced 2026-10-02 01:21:43 +00:00
No-op on GHES
This commit is contained in:
1 parent
eed9cfe64d
commit
4d604c6cce
5 files changed
+60
No files matched your search
@@ -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