mirror of
https://github.com/pnpm/action-setup.git
synced 2024-12-23 00:06:30 +08:00
Return expanded paths
This commit is contained in:
parent
fecab58a2f
commit
fe4a915fbf
|
@ -1,8 +1,10 @@
|
||||||
import { addPath } from '@actions/core'
|
import { setOutput, addPath } from '@actions/core'
|
||||||
import { Inputs } from '../inputs'
|
import { Inputs } from '../inputs'
|
||||||
|
|
||||||
export function setOutputs(inputs: Inputs) {
|
export function setOutputs(inputs: Inputs) {
|
||||||
addPath(inputs.binDest)
|
addPath(inputs.binDest)
|
||||||
|
setOutput('dest', inputs.dest)
|
||||||
|
setOutput('bin_dest', inputs.binDest)
|
||||||
}
|
}
|
||||||
|
|
||||||
export default setOutputs
|
export default setOutputs
|
||||||
|
|
Loading…
Reference in New Issue
Block a user