mirror of
https://code.forgejo.org/pnpm/action-setup.git
synced 2025-05-21 05:44:44 +00:00
Fix pruneStore
This commit is contained in:
parent
2546768411
commit
b1febf84ed
4 changed files with 14 additions and 7 deletions
8
src/utils/index.ts
Normal file
8
src/utils/index.ts
Normal file
|
@ -0,0 +1,8 @@
|
|||
import process from 'process'
|
||||
import path from 'path'
|
||||
import { Inputs } from '../inputs'
|
||||
|
||||
export const patchPnpmEnv = (inputs: Inputs): NodeJS.ProcessEnv => ({
|
||||
...process.env,
|
||||
PATH: inputs.binDest + path.delimiter + process.env.PATH
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue