mirror of
https://github.com/docker/build-push-action.git
synced 2026-01-20 17:48:55 +08:00
12 lines
332 B
TypeScript
12 lines
332 B
TypeScript
import * as core from '@actions/core';
|
|
|
|
export const tmpDir = process.env['STATE_tmpDir'] || '';
|
|
export const buildRef = process.env['STATE_buildRef'] || '';
|
|
|
|
export function setTmpDir(tmpDir: string) {
|
|
core.saveState('tmpDir', tmpDir);
|
|
}
|
|
|
|
export function setBuildRef(buildRef: string) {
|
|
core.saveState('buildRef', buildRef);
|
|
}
|