mirror of
https://github.com/docker/setup-compose-action.git
synced 2026-02-28 17:58:44 +01:00
13 lines
394 B
TypeScript
13 lines
394 B
TypeScript
import fs from 'node:fs';
|
|
import os from 'node:os';
|
|
import path from 'node:path';
|
|
|
|
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'docker-actions-toolkit-'));
|
|
|
|
process.env = Object.assign({}, process.env, {
|
|
TEMP: tmpDir,
|
|
GITHUB_REPOSITORY: 'docker/setup-compose-action',
|
|
RUNNER_TEMP: path.join(tmpDir, 'runner-temp'),
|
|
RUNNER_TOOL_CACHE: path.join(tmpDir, 'runner-tool-cache')
|
|
});
|