mirror of
https://github.com/ruby/setup-ruby.git
synced 2026-09-13 06:34:19 +02:00
exec.exec() only accepts strings
This commit is contained in:
+1
-1
@@ -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)) {
|
||||
|
||||
+1
-1
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user