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(
312312export async function getArtifactUploaderClient (
313313 logger : Logger ,
314314 ghVariant : GitHubVariant ,
315- ) : Promise < artifact . ArtifactClient | artifactLegacy . ArtifactClient > {
315+ ) : Promise < artifact . ArtifactClient > {
316316 if ( ghVariant === GitHubVariant . GHES ) {
317317 logger . info (
318318 "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(
322322 logger . info (
323323 "Debug artifacts can be consumed with `actions/download-artifact@v4`." ,
324324 ) ;
325- return new artifact . DefaultArtifactClient ( ) ;
325+ // eslint-disable-next-line @typescript-eslint/no-unsafe-call
326+ return new artifact . DefaultArtifactClient ( ) as artifact . ArtifactClient ;
326327 }
327328}
328329
You can’t perform that action at this time.
0 commit comments