import * as core from '@actions/core' ; export function getInputAsArray ( name , options ? ) { return getStringAsArray ( core . getInput ( name , options ) ) ; } export function getStringAsArray ( str ) { return str . split ( /[\n,]+/ ) . map ( s => s . trim ( ) ) . filter ( x => x !== '' ) ; }