mirror of
https://github.com/actions/toolkit.git
synced 2026-08-16 00:00:21 +02:00
Undo the GHES ignores
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user