Skip to content

Commit b8dc8f0

Browse files
committed
exec.exec() only accepts strings
1 parent 3d186c9 commit b8dc8f0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bundler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ export async function bundleInstall(gemfile, lockFile, platform, engine, rubyVer
197197
// Number of jobs should scale with runner, up to a point
198198
const jobs = Math.min(os.availableParallelism(), 8)
199199
// Always run 'bundle install' to list the gems
200-
await exec.exec('bundle', ['install', '--jobs', jobs])
200+
await exec.exec('bundle', ['install', '--jobs', `${jobs}`])
201201

202202
// @actions/cache only allows to save for non-existing keys
203203
if (!common.isExactCacheKeyMatch(key, cachedKey)) {

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)