Commit 40f6d20
committed
Handle Arduino CLI 1.x
The action parses the output of the `arduino-cli core list --format json` command.
There was a breaking change to the data format of that output was changed in the 1.0.0 release of Arduino CLI.
The action code is updated to handle the new output, while also retaining backwards compatibility with the pre-1.x data
format in order to support workflows that pin the Arduino CLI version to >1.0.0 via the action's "cli-version" input.core list data format1 parent b35a113 commit 40f6d20
File tree
2 files changed
+36
-1
lines changed- compilesketches
- tests
2 files changed
+36
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
558 | 558 | | |
559 | 559 | | |
560 | 560 | | |
561 | | - | |
| 561 | + | |
562 | 562 | | |
563 | 563 | | |
564 | 564 | | |
| |||
1437 | 1437 | | |
1438 | 1438 | | |
1439 | 1439 | | |
| 1440 | + | |
| 1441 | + | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
| 1445 | + | |
| 1446 | + | |
| 1447 | + | |
| 1448 | + | |
| 1449 | + | |
| 1450 | + | |
| 1451 | + | |
| 1452 | + | |
| 1453 | + | |
| 1454 | + | |
| 1455 | + | |
| 1456 | + | |
| 1457 | + | |
| 1458 | + | |
| 1459 | + | |
1440 | 1460 | | |
1441 | 1461 | | |
1442 | 1462 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2883 | 2883 | | |
2884 | 2884 | | |
2885 | 2885 | | |
| 2886 | + | |
| 2887 | + | |
| 2888 | + | |
| 2889 | + | |
| 2890 | + | |
| 2891 | + | |
| 2892 | + | |
| 2893 | + | |
| 2894 | + | |
| 2895 | + | |
| 2896 | + | |
| 2897 | + | |
| 2898 | + | |
| 2899 | + | |
| 2900 | + | |
2886 | 2901 | | |
2887 | 2902 | | |
2888 | 2903 | | |
| |||
0 commit comments