Add printing of the lockfile after installation

Closes #783
This commit is contained in:
Jason Frey
2025-07-26 10:58:48 +02:00
committed by Benoit Daloze
parent 0ecad18fe5
commit ba9e71c195
3 changed files with 22 additions and 0 deletions
+5
View File
@@ -99,6 +99,11 @@ 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']))
if (fs.existsSync(lockFile)) {
await core.group(`Print lockfile`, async () =>
await exec.exec('cat', [lockFile]))
}
}
core.setOutput('ruby-prefix', rubyPrefix)