PNPM_HOME_PATH=>PNPM_HOME

This commit is contained in:
Zoltan Kochan 2022-02-08 00:21:53 +02:00
parent 6ff6e97bc6
commit e6378df420
No known key found for this signature in database
GPG Key ID: 649E4D4AF74E7DEC
2 changed files with 1 additions and 4 deletions

BIN
dist/index.js vendored

Binary file not shown.

View File

@ -30,10 +30,7 @@ export async function runSelfInstaller(inputs: Inputs): Promise<number> {
if (exitCode === 0) { if (exitCode === 0) {
const pnpmHome = join(dest, 'node_modules/.bin') const pnpmHome = join(dest, 'node_modules/.bin')
core.addPath(pnpmHome) core.addPath(pnpmHome)
// This environment variable will be available in future steps as PNPM_HOME core.exportVariable('PNPM_HOME', pnpmHome)
// It is written as PNPM_HOME_PATH due to a convention in GitHub actions:
// > Any new environment variables you set that point to a location on the filesystem should have a _PATH suffix.
core.exportVariable('PNPM_HOME_PATH', pnpmHome)
} }
return exitCode return exitCode
} }