Skip to content

Commit

Permalink
feat: using runner.temp for kalix installation (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
aludwiko authored May 14, 2024
1 parent 5015f0e commit 276e36e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
Expand Down
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
Expand Down

0 comments on commit 276e36e

Please sign in to comment.