sock output to get docker socket path

This commit is contained in:
CrazyMax
2024-02-29 16:20:43 +01:00
parent fc6fa62ba9
commit 8e060aa468
3 changed files with 18 additions and 1 deletions

View File

@ -34,7 +34,11 @@ actionsToolkit.run(
}
if (toolDir) {
stateHelper.setRunDir(runDir);
await install.install();
const sockPath = await install.install();
await core.group(`Setting outputs`, async () => {
core.info(`sock=${sockPath}`);
core.setOutput('sock', sockPath);
});
}
await core.group(`Docker info`, async () => {