Undo the GHES ignores

This commit is contained in:
Daniel Kennedy
2026-01-28 21:46:50 -05:00
parent 93da09c311
commit 77ed158ade
+15 -15
View File
@@ -117,9 +117,9 @@ export class DefaultArtifactClient implements ArtifactClient {
options?: UploadArtifactOptions options?: UploadArtifactOptions
): Promise<UploadArtifactResponse> { ): Promise<UploadArtifactResponse> {
try { try {
// if (isGhes()) { if (isGhes()) {
// throw new GHESNotSupportedError() throw new GHESNotSupportedError()
// } }
return uploadArtifact(name, files, rootDirectory, options) return uploadArtifact(name, files, rootDirectory, options)
} catch (error) { } catch (error) {
@@ -140,9 +140,9 @@ If the error persists, please check whether Actions is operating normally at [ht
options?: DownloadArtifactOptions & FindOptions options?: DownloadArtifactOptions & FindOptions
): Promise<DownloadArtifactResponse> { ): Promise<DownloadArtifactResponse> {
try { try {
// if (isGhes()) { if (isGhes()) {
// throw new GHESNotSupportedError() throw new GHESNotSupportedError()
// } }
if (options?.findBy) { if (options?.findBy) {
const { const {
@@ -177,9 +177,9 @@ If the error persists, please check whether Actions and API requests are operati
options?: ListArtifactsOptions & FindOptions options?: ListArtifactsOptions & FindOptions
): Promise<ListArtifactsResponse> { ): Promise<ListArtifactsResponse> {
try { try {
// if (isGhes()) { if (isGhes()) {
// throw new GHESNotSupportedError() throw new GHESNotSupportedError()
// } }
if (options?.findBy) { if (options?.findBy) {
const { const {
@@ -214,9 +214,9 @@ If the error persists, please check whether Actions and API requests are operati
options?: FindOptions options?: FindOptions
): Promise<GetArtifactResponse> { ): Promise<GetArtifactResponse> {
try { try {
// if (isGhes()) { if (isGhes()) {
// throw new GHESNotSupportedError() throw new GHESNotSupportedError()
// } }
if (options?.findBy) { if (options?.findBy) {
const { const {
@@ -250,9 +250,9 @@ If the error persists, please check whether Actions and API requests are operati
options?: FindOptions options?: FindOptions
): Promise<DeleteArtifactResponse> { ): Promise<DeleteArtifactResponse> {
try { try {
// if (isGhes()) { if (isGhes()) {
// throw new GHESNotSupportedError() throw new GHESNotSupportedError()
// } }
if (options?.findBy) { if (options?.findBy) {
const { const {