{ "name": "gitlab-artifacts", "exports": { "run": { "input": { "type": "object", "properties": { "project": { "type": "string", "default": ".", "minLength": 1 }, "runDir": { "type": "string", "minLength": 1 }, "executable": { "type": "string", "minLength": 1 }, "timeoutMs": { "type": "integer", "minimum": 1, "default": 900000 }, "artifacts": { "type": "object", "additionalProperties": { "type": "string", "minLength": 1 }, "description": "Named output files to collect with their sizes and SHA-256 digests in the execution report." }, "arguments": { "type": "array", "items": { "type": "string", "minLength": 1 }, "minItems": 1, "description": "arguments" } }, "required": [ "runDir", "arguments" ], "additionalProperties": false }, "output": { "type": "string", "contentType": "application/json" } }, "version": { "input": { "type": "object", "properties": { "project": { "type": "string", "default": ".", "minLength": 1 }, "runDir": { "type": "string", "minLength": 1 }, "executable": { "type": "string", "minLength": 1 }, "timeoutMs": { "type": "integer", "minimum": 1, "default": 900000 }, "artifacts": { "type": "object", "additionalProperties": { "type": "string", "minLength": 1 }, "description": "Named output files to collect with their sizes and SHA-256 digests in the execution report." } }, "required": [ "runDir" ], "additionalProperties": false }, "output": { "type": "string", "contentType": "application/json" } }, "upload": { "input": { "type": "object", "properties": { "project": { "type": "string", "default": ".", "minLength": 1 }, "runDir": { "type": "string", "minLength": 1 }, "executable": { "type": "string", "minLength": 1 }, "timeoutMs": { "type": "integer", "minimum": 1, "default": 900000 }, "artifacts": { "type": "object", "additionalProperties": { "type": "string", "minLength": 1 }, "description": "Named output files to collect with their sizes and SHA-256 digests in the execution report." }, "archive": { "type": "string", "minLength": 1, "description": "archive" }, "jobId": { "type": "string", "minLength": 1, "description": "jobId" }, "apiUrl": { "type": "string", "minLength": 1, "default": "https://gitlab.com/api/v4", "description": "apiUrl" } }, "required": [ "runDir", "archive", "jobId" ], "additionalProperties": false }, "output": { "type": "string", "contentType": "application/json" } }, "download": { "input": { "type": "object", "properties": { "project": { "type": "string", "default": ".", "minLength": 1 }, "runDir": { "type": "string", "minLength": 1 }, "executable": { "type": "string", "minLength": 1 }, "timeoutMs": { "type": "integer", "minimum": 1, "default": 900000 }, "artifacts": { "type": "object", "additionalProperties": { "type": "string", "minLength": 1 }, "description": "Named output files to collect with their sizes and SHA-256 digests in the execution report." }, "repo": { "type": "string", "minLength": 1, "description": "repo" }, "job": { "type": "string", "minLength": 1, "description": "job" }, "path": { "type": "string", "minLength": 1, "default": "dist", "description": "path" }, "ref": { "type": "string", "minLength": 1, "description": "ref" } }, "required": [ "runDir", "job", "ref" ], "additionalProperties": false }, "output": { "type": "string", "contentType": "application/json" } }, "release_upload": { "input": { "type": "object", "properties": { "project": { "type": "string", "default": ".", "minLength": 1 }, "runDir": { "type": "string", "minLength": 1 }, "executable": { "type": "string", "minLength": 1 }, "timeoutMs": { "type": "integer", "minimum": 1, "default": 900000 }, "artifacts": { "type": "object", "additionalProperties": { "type": "string", "minLength": 1 }, "description": "Named output files to collect with their sizes and SHA-256 digests in the execution report." }, "repo": { "type": "string", "minLength": 1, "description": "repo" }, "tag": { "type": "string", "minLength": 1, "description": "tag" }, "files": { "type": "array", "items": { "type": "string", "minLength": 1 }, "minItems": 1, "description": "files" } }, "required": [ "runDir", "tag", "files" ], "additionalProperties": false }, "output": { "type": "string", "contentType": "application/json" } } } }