File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -312,7 +312,7 @@ export async function uploadDebugArtifacts(
312
312
export async function getArtifactUploaderClient (
313
313
logger : Logger ,
314
314
ghVariant : GitHubVariant ,
315
- ) : Promise < artifact . ArtifactClient | artifactLegacy . ArtifactClient > {
315
+ ) : Promise < artifact . ArtifactClient > {
316
316
if ( ghVariant === GitHubVariant . GHES ) {
317
317
logger . info (
318
318
"Debug artifacts can be consumed with `actions/download-artifact@v3` because the `v4` version is not yet compatible on GHES." ,
@@ -322,7 +322,8 @@ export async function getArtifactUploaderClient(
322
322
logger . info (
323
323
"Debug artifacts can be consumed with `actions/download-artifact@v4`." ,
324
324
) ;
325
- return new artifact . DefaultArtifactClient ( ) ;
325
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-call
326
+ return new artifact . DefaultArtifactClient ( ) as artifact . ArtifactClient ;
326
327
}
327
328
}
328
329
You can’t perform that action at this time.
0 commit comments