github: upload artifact

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2024-04-18 16:33:56 +02:00
parent 8d4d79eeb7
commit db0a36131e
6 changed files with 955 additions and 27 deletions

View File

@@ -34,3 +34,16 @@ export interface GitHubActionsRuntimeTokenAC {
Scope: string;
Permission: number;
}
export interface UploadArtifactOpts {
filename: string;
mimeType?: string;
retentionDays?: number;
}
export interface UploadArtifactResponse {
id: number;
filename: string;
size: number;
url: string;
}