import {isEmpty} from '../utils' import {addOutput} from '../outputs' /** * save env key=value to output, which will be exported when agentless job next instance run * * @param key * @param value */ export function saveEnvVar(key: string, value: string): void { if (isEmpty(key) || isEmpty(value)) { return } addOutput(`${key}=${value}`) }