mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-23 09:38:05 +08:00
Initial upload structure setup
This commit is contained in:
@@ -1,12 +1,16 @@
|
||||
import {ArtifactClient, DefaultArtifactClient} from './internal/artifact-client'
|
||||
|
||||
export {
|
||||
ArtifactClient,
|
||||
}
|
||||
import { ArtifactClient, DefaultArtifactClient} from './internal/artifact-client'
|
||||
import { UploadOptions } from './internal/upload-options'
|
||||
import { UploadResponse } from './internal/upload-response'
|
||||
|
||||
/**
|
||||
* Constructs an ArtifactClient
|
||||
* Exported functionality that we want to expose for any users of @actions/artifact
|
||||
*/
|
||||
export {
|
||||
ArtifactClient,
|
||||
UploadOptions,
|
||||
UploadResponse,
|
||||
}
|
||||
|
||||
export function create(): ArtifactClient {
|
||||
return DefaultArtifactClient.create()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user