Parse target_architectures argument to array
This commit is contained in:
parent
4b4ceba34a
commit
bed34a9575
2
main.js
2
main.js
|
@ -22,7 +22,7 @@ async function getOS(distribution) {
|
|||
|
||||
async function main() {
|
||||
try {
|
||||
const targetArchitectures = core.getInput("target_architectures") || []
|
||||
const targetArchitectures = core.getInput("target_architectures").replaceAll(" ", "").split(",") || []
|
||||
|
||||
const sourceRelativeDirectory = core.getInput("source_directory") || "./"
|
||||
const artifactsRelativeDirectory = core.getInput("artifacts_directory") || "./"
|
||||
|
|
Loading…
Reference in a new issue