You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The previous behavior of the action is to always install the repository as a library. That works for compilation testing of libraries, but there is no reason to restrict this tool to that application. It can just as well be a general purpose tool for compilation testing of any Arduino project (library, platform, sketch). When seen from that perspective, it is better to give the user control over this behavior.
For backwards compatibility, the previous behavior of always installing the repository as a library is retained when the old space-separated list syntax is used, or if the user doesn't provide a libraries input.
Copy file name to clipboardExpand all lines: README.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,8 @@ For 3rd party boards, also specify the Boards Manager URL:
20
20
21
21
YAML-format list of library dependencies to install.
22
22
23
+
Default `"- source-path: ./"`. This causes the repository to be installed as a library. If there are no library dependencies and you want to override the default, set the `libraries` input to an empty list (`- libraries: '-'`).
24
+
23
25
Note: the original space-separated list format is also supported. When this syntax is used, the repository under test will always be installed as a library.
24
26
25
27
#### Sources:
@@ -30,6 +32,12 @@ Keys:
30
32
- `name`- name of the library.
31
33
- `version`- version of the library to install. Default is the latest version.
32
34
35
+
##### Local path
36
+
37
+
Keys:
38
+
- `source-path`- path to install as a library. Relative paths are assumed to be relative to the root of the repository.
39
+
- `destination-name`- folder name to install the library to. By default, the folder will be named according to the source repository or subfolder name.
0 commit comments