Closed
Description
Describe the problem
I want to check that the examples in library A compile correctly prior to public release. However, library A is dependant upon library B. Both libraries are private.
The compile-sketches-private.yml workflow works for library B, but not library A.
To reproduce
- Create two private repos. Let's call them
LibA
andLibB
.LibB
has no external dependancies, outside what is inside the library manager.LibA
however is dependant uponLibB
(i.e. has#include "LibB"
in the example sketches) - Copy the compile-sketches-private.yml workflow to the
.github/workflows
folder in each repo. Configure thefqbn:
and add libraies from the library manager (e.g.libraries: - name: Servo
) - Inside the
compile-sketches-private.yml
forLibA
, refer toLibB
as follows:
libraries: |
# Install the library from the local path.
- source-path: ./
- source-path: https://github.com/arduino-libraries/LibB
- When running the workflow, I get a message stating the following:
Error: Library source path: https:/github.com/arduino-libraries/LibB doesn't exist
Error: Process completed with exit code 1.
Expected behavior
Private libraries to which my account (or the organisation hosting it) have access to should be acceptable entries to source-path:
'arduino/compile-sketches' version
Additional context
No response
Issue checklist
- I searched for previous reports in the issue tracker
- I verified the problem still occurs when using the latest version
- My report contains all necessary details