Skip to content

Commit 83caca1

Browse files
committed
fix: Fettling
1 parent 2eb45fa commit 83caca1

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/arduino_test_runner.yml .github/workflows/arduino-ci.yml

+10-4
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,18 @@ jobs:
2121
arduino-cli core update-index
2222
arduino-cli core install arduino:avr
2323
arduino-cli core install esp8266:esp8266
24-
- name: Install OneWire library
24+
- name: Install and locate OneWire library
2525
run: |
2626
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
3036
- name: Set up Ruby
3137
uses: ruby/setup-ruby@v1
3238
with:

0 commit comments

Comments
 (0)