[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:
Konrad Pabjan
2023-08-17 14:40:33 -04:00
committed by GitHub
parent 20afb1a9fc
commit 7b617c260d
15 changed files with 772 additions and 71 deletions

View File

@@ -0,0 +1,14 @@
import {
DownloadArtifactOptions,
DownloadArtifactResponse
} from '../shared/interfaces'
export async function downloadArtifact(
artifactId: number,
repositoryOwner: string,
repositoryName: string,
token: string,
options?: DownloadArtifactOptions
): Promise<DownloadArtifactResponse> {
throw new Error('Not implemented')
}