@tradeshift/actions-core
v1.0.1
Published
Core github actions library
Downloads
3
Maintainers
Keywords
Readme
@tradeshift/actions-core
Core action utility functions
Usage
getInputList(inputName: string)
This gets the given input name and parses it as a list
import * as core from '@tradeshift/actions-core'
/*
uses: ...
with:
my-input: |
list-item-1
list-item-2
list-item-3
or
uses: ...
with:
my-input: list-item-1,list-item-2,list-item-3
*/
const inputs: string[] = getInputList('my-input')