mirror of
https://github.com/docker/build-push-action.git
synced 2024-12-26 08:42:09 -05:00
c3b8f61f90
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
12 lines
313 B
TypeScript
12 lines
313 B
TypeScript
import * as core from '@actions/core';
|
|
|
|
export const IsPost = !!process.env['STATE_isPost'];
|
|
export const builderName = !!process.env['STATE_builderName'];
|
|
|
|
export function setBuilderName(builderName: string) {
|
|
core.saveState('builderName', builderName);
|
|
}
|
|
|
|
if (!IsPost) {
|
|
core.saveState('isPost', 'true');
|
|
}
|