No-op on GHES

This commit is contained in:
Dave Hadka 2020-09-29 09:58:32 -05:00
parent eed9cfe64d
commit 4d604c6cce
5 changed files with 60 additions and 0 deletions

View file

@ -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 ${