File tree 1 file changed +10
-4
lines changed
1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -21,12 +21,18 @@ jobs:
21
21
arduino-cli core update-index
22
22
arduino-cli core install arduino:avr
23
23
arduino-cli core install esp8266:esp8266
24
- - name : Install OneWire library
24
+ - name : Install and locate OneWire library
25
25
run : |
26
26
arduino-cli lib install OneWire
27
- # Copy OneWire to both locations it might be needed
28
- cp -r $HOME/.arduino15/libraries/OneWire $GITHUB_WORKSPACE/libraries/
29
- cp -r $HOME/.arduino15/libraries/OneWire /home/runner/Arduino/libraries/
27
+ # Debug: Find where OneWire was installed
28
+ echo "Searching for OneWire.h:"
29
+ find / -name "OneWire.h" 2>/dev/null
30
+ echo "Arduino library directories:"
31
+ arduino-cli config dump
32
+ # Copy OneWire to the required locations
33
+ mkdir -p $GITHUB_WORKSPACE/libraries/OneWire
34
+ mkdir -p /home/runner/Arduino/libraries/OneWire
35
+ # We'll update the copy commands once we see the actual location
30
36
- name : Set up Ruby
31
37
uses : ruby/setup-ruby@v1
32
38
with :
You can’t perform that action at this time.
0 commit comments