mirror of
https://github.com/actions/cache.git
synced 2025-04-22 03:56:45 +00:00
No-op on GHES
This commit is contained in:
parent
eed9cfe64d
commit
4d604c6cce
5 changed files with 60 additions and 0 deletions
|
@ -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 ${
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue