diff --git a/common.js b/common.js index de1598457..02e57b237 100644 --- a/common.js +++ b/common.js @@ -360,24 +360,23 @@ export function setupPath(newPathEntries) { const originalPath = process.env[envPath].split(path.delimiter) let cleanPath = originalPath.filter(entry => !/\bruby\b/i.test(entry)) - core.startGroup(`Modifying ${envPath}`) - - // First remove the conflicting path entries - if (cleanPath.length !== originalPath.length) { - console.log(`Entries removed from ${envPath} to avoid conflicts with default Ruby:`) - for (const entry of originalPath) { - if (!cleanPath.includes(entry)) { - console.log(` ${entry}`) + core.group(`Modifying ${envPath}`, async () => { + // First remove the conflicting path entries + if (cleanPath.length !== originalPath.length) { + console.log(`Entries removed from ${envPath} to avoid conflicts with default Ruby:`) + for (const entry of originalPath) { + if (!cleanPath.includes(entry)) { + console.log(` ${entry}`) + } } + core.exportVariable(envPath, cleanPath.join(path.delimiter)) } - core.exportVariable(envPath, cleanPath.join(path.delimiter)) - } - console.log(`Entries added to ${envPath} to use selected Ruby:`) - for (const entry of newPathEntries) { - console.log(` ${entry}`) - } - core.endGroup() + console.log(`Entries added to ${envPath} to use selected Ruby:`) + for (const entry of newPathEntries) { + console.log(` ${entry}`) + } + }) core.addPath(newPathEntries.join(path.delimiter)) } diff --git a/dist/index.js b/dist/index.js index 160f36172..8f55653ad 100644 --- a/dist/index.js +++ b/dist/index.js @@ -677,24 +677,23 @@ function setupPath(newPathEntries) { const originalPath = process.env[envPath].split(path.delimiter) let cleanPath = originalPath.filter(entry => !/\bruby\b/i.test(entry)) - core.startGroup(`Modifying ${envPath}`) - - // First remove the conflicting path entries - if (cleanPath.length !== originalPath.length) { - console.log(`Entries removed from ${envPath} to avoid conflicts with default Ruby:`) - for (const entry of originalPath) { - if (!cleanPath.includes(entry)) { - console.log(` ${entry}`) + core.group(`Modifying ${envPath}`, async () => { + // First remove the conflicting path entries + if (cleanPath.length !== originalPath.length) { + console.log(`Entries removed from ${envPath} to avoid conflicts with default Ruby:`) + for (const entry of originalPath) { + if (!cleanPath.includes(entry)) { + console.log(` ${entry}`) + } } + core.exportVariable(envPath, cleanPath.join(path.delimiter)) } - core.exportVariable(envPath, cleanPath.join(path.delimiter)) - } - console.log(`Entries added to ${envPath} to use selected Ruby:`) - for (const entry of newPathEntries) { - console.log(` ${entry}`) - } - core.endGroup() + console.log(`Entries added to ${envPath} to use selected Ruby:`) + for (const entry of newPathEntries) { + console.log(` ${entry}`) + } + }) core.addPath(newPathEntries.join(path.delimiter)) } @@ -85351,6 +85350,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) pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy