From 141b3509e4095f289a05a12bdf8a02ba4146f8b2 Mon Sep 17 00:00:00 2001 From: Rob Herley Date: Sun, 3 Dec 2023 21:13:55 +0000 Subject: [PATCH] update import --- packages/artifact/src/internal/upload/upload-artifact.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/artifact/src/internal/upload/upload-artifact.ts b/packages/artifact/src/internal/upload/upload-artifact.ts index 011dc4c8..6546f98f 100644 --- a/packages/artifact/src/internal/upload/upload-artifact.ts +++ b/packages/artifact/src/internal/upload/upload-artifact.ts @@ -1,5 +1,8 @@ import * as core from '@actions/core' -import {UploadOptions, UploadResponse} from '../shared/interfaces' +import { + UploadArtifactOptions, + UploadArtifactResponse +} from '../shared/interfaces' import {getExpiration} from './retention' import {validateArtifactName} from './path-and-artifact-name-validation' import {internalArtifactTwirpClient} from '../shared/artifact-twirp-client' @@ -21,8 +24,8 @@ export async function uploadArtifact( name: string, files: string[], rootDirectory: string, - options?: UploadOptions | undefined -): Promise { + options?: UploadArtifactOptions | undefined +): Promise { validateArtifactName(name) validateRootDirectory(rootDirectory)