From 7a772599d81bdfd435100b2a980047df0efb8c05 Mon Sep 17 00:00:00 2001 From: Jason Frey Date: Thu, 24 Jul 2025 16:32:05 -0400 Subject: [PATCH] Add printing of the lockfile after installation Closes #783 --- dist/index.js | 3 +++ index.js | 3 +++ 2 files changed, 6 insertions(+) diff --git a/dist/index.js b/dist/index.js index e33ee934e..65811bb38 100644 --- a/dist/index.js +++ b/dist/index.js @@ -85351,6 +85351,9 @@ async function setupRuby(options = {}) { if (inputs['bundler-cache'] === 'true') { await common.time('bundle install', async () => bundler.bundleInstall(gemfile, lockFile, platform, engine, version, bundlerVersion, inputs['cache-version'])) + + await core.group(`Print lockfile`, async () => + await exec.exec('cat', [lockFile])) } core.setOutput('ruby-prefix', rubyPrefix) diff --git a/index.js b/index.js index 62e46feb9..31c2ccc80 100644 --- a/index.js +++ b/index.js @@ -99,6 +99,9 @@ export async function setupRuby(options = {}) { if (inputs['bundler-cache'] === 'true') { await common.time('bundle install', async () => bundler.bundleInstall(gemfile, lockFile, platform, engine, version, bundlerVersion, inputs['cache-version'])) + + await core.group(`Print lockfile`, async () => + await exec.exec('cat', [lockFile])) } core.setOutput('ruby-prefix', rubyPrefix)