build-push-action/src/state-helper.ts

8 lines
180 B
TypeScript

import * as core from '@actions/core';
export const tmpDir = process.env['STATE_tmpDir'] || '';
export function setTmpDir(tmpDir: string) {
core.saveState('tmpDir', tmpDir);
}