From 77ed158ade2a67b48d32ad5c9de385995cbb0086 Mon Sep 17 00:00:00 2001 From: Daniel Kennedy Date: Wed, 28 Jan 2026 13:06:10 -0500 Subject: [PATCH] Undo the GHES ignores --- packages/artifact/src/internal/client.ts | 30 ++++++++++++------------ 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/packages/artifact/src/internal/client.ts b/packages/artifact/src/internal/client.ts index 0901bf8c..09411ce6 100644 --- a/packages/artifact/src/internal/client.ts +++ b/packages/artifact/src/internal/client.ts @@ -117,9 +117,9 @@ export class DefaultArtifactClient implements ArtifactClient { options?: UploadArtifactOptions ): Promise { try { - // if (isGhes()) { - // throw new GHESNotSupportedError() - // } + if (isGhes()) { + throw new GHESNotSupportedError() + } return uploadArtifact(name, files, rootDirectory, options) } catch (error) { @@ -140,9 +140,9 @@ If the error persists, please check whether Actions is operating normally at [ht options?: DownloadArtifactOptions & FindOptions ): Promise { try { - // if (isGhes()) { - // throw new GHESNotSupportedError() - // } + if (isGhes()) { + throw new GHESNotSupportedError() + } if (options?.findBy) { const { @@ -177,9 +177,9 @@ If the error persists, please check whether Actions and API requests are operati options?: ListArtifactsOptions & FindOptions ): Promise { try { - // if (isGhes()) { - // throw new GHESNotSupportedError() - // } + if (isGhes()) { + throw new GHESNotSupportedError() + } if (options?.findBy) { const { @@ -214,9 +214,9 @@ If the error persists, please check whether Actions and API requests are operati options?: FindOptions ): Promise { try { - // if (isGhes()) { - // throw new GHESNotSupportedError() - // } + if (isGhes()) { + throw new GHESNotSupportedError() + } if (options?.findBy) { const { @@ -250,9 +250,9 @@ If the error persists, please check whether Actions and API requests are operati options?: FindOptions ): Promise { try { - // if (isGhes()) { - // throw new GHESNotSupportedError() - // } + if (isGhes()) { + throw new GHESNotSupportedError() + } if (options?.findBy) { const {