2020-09-02 16:07:11 +08:00
|
|
|
import * as core from '@actions/core';
|
|
|
|
|
|
|
|
export const tmpDir = process.env['STATE_tmpDir'] || '';
|
2024-05-02 19:49:01 +08:00
|
|
|
export const buildRef = process.env['STATE_buildRef'] || '';
|
2020-09-02 16:07:11 +08:00
|
|
|
|
|
|
|
export function setTmpDir(tmpDir: string) {
|
|
|
|
core.saveState('tmpDir', tmpDir);
|
|
|
|
}
|
2024-05-02 19:49:01 +08:00
|
|
|
|
|
|
|
export function setBuildRef(buildRef: string) {
|
|
|
|
core.saveState('buildRef', buildRef);
|
|
|
|
}
|