diff --git a/dist/index.js b/dist/index.js index f9c2fd0..caf58c6 100644 --- a/dist/index.js +++ b/dist/index.js @@ -30472,7 +30472,8 @@ async function run() { try { const token = core.getInput('token', { required: true }); const projectId = core.getInput('project-id', { required: true }); - const kalixBin = "/tmp/kalix-bin"; + const runnerTempDir = process.env.RUNNER_TEMP; + const kalixBin = runnerTempDir + "/kalix-bin"; console.log(`Downloading install-cli script`); const scriptPath = await tc.downloadTool('https://docs.kalix.io/install-cli.sh'); console.log(`Downloaded ${scriptPath}`); diff --git a/index.js b/index.js index 751b93f..c3f7b28 100644 --- a/index.js +++ b/index.js @@ -6,7 +6,8 @@ async function run() { try { const token = core.getInput('token', { required: true }); const projectId = core.getInput('project-id', { required: true }); - const kalixBin = "/tmp/kalix-bin"; + const runnerTempDir = process.env.RUNNER_TEMP; + const kalixBin = runnerTempDir + "/kalix-bin"; console.log(`Downloading install-cli script`); const scriptPath = await tc.downloadTool('https://docs.kalix.io/install-cli.sh'); console.log(`Downloaded ${scriptPath}`);