mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-05-03 08:18:05 +08:00
[Artifacts] @actions/artifact list artifact functionality + download interface setup (#1495)
* actions/artifact preparation for download-artifact v4 * Test matrix strategy * Fix needs dependency * Improve list artifact test * Fix typo * Fix variables * Cleanup download-all interfaces * Fix tsc error * Simplify to just name instead of artifactName * Simplify to id instead of ArtifactId * PR cleanup
This commit is contained in:
11
packages/artifact/src/internal/find/get-artifact.ts
Normal file
11
packages/artifact/src/internal/find/get-artifact.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import {GetArtifactResponse} from '../shared/interfaces'
|
||||
|
||||
export async function getArtifact(
|
||||
artifactName: string,
|
||||
workflowRunId: number,
|
||||
repositoryOwner: string,
|
||||
repositoryName: string,
|
||||
token: string
|
||||
): Promise<GetArtifactResponse> {
|
||||
throw new Error('Not implemented')
|
||||
}
|
||||
Reference in New Issue
Block a user