From d5126b9b3579e429dd52e51e68624dda2e05be25 Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Mon, 27 Oct 2025 12:23:48 +0100 Subject: [PATCH] exec.exec() only accepts strings --- bundler.js | 2 +- dist/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bundler.js b/bundler.js index b4f344c..e0d1179 100644 --- a/bundler.js +++ b/bundler.js @@ -197,7 +197,7 @@ export async function bundleInstall(gemfile, lockFile, platform, engine, rubyVer // Number of jobs should scale with runner, up to a point const jobs = Math.min(os.availableParallelism(), 8) // Always run 'bundle install' to list the gems - await exec.exec('bundle', ['install', '--jobs', jobs]) + await exec.exec('bundle', ['install', '--jobs', `${jobs}`]) // @actions/cache only allows to save for non-existing keys if (!common.isExactCacheKeyMatch(key, cachedKey)) { diff --git a/dist/index.js b/dist/index.js index 934a1cd..5ff32c1 100644 --- a/dist/index.js +++ b/dist/index.js @@ -211,7 +211,7 @@ async function bundleInstall(gemfile, lockFile, platform, engine, rubyVersion, b // Number of jobs should scale with runner, up to a point const jobs = Math.min(os.availableParallelism(), 8) // Always run 'bundle install' to list the gems - await exec.exec('bundle', ['install', '--jobs', jobs]) + await exec.exec('bundle', ['install', '--jobs', `${jobs}`]) // @actions/cache only allows to save for non-existing keys if (!common.isExactCacheKeyMatch(key, cachedKey)) {