karniv00l / platformio-run-action

GitHub Action for PlatformIO CI Run
MIT License
13 stars 2 forks source link

Pass entire array to pio, no only first element #5

Closed simonspa closed 6 months ago

simonspa commented 6 months ago

Right now only the first element of the array is passed via echo and xargs to pio. This means as soon as an environment is defined, for example the targets are not passed on anymore.

This PR changes the echo statement such that the entire array is printed and passed to pio.

Now any combination of environments and targets work as advertised and expected.

karniv00l commented 6 months ago

Thank you!