Skip to content

Commit 68c42e0

Browse files
committed
step
1 parent 3036d03 commit 68c42e0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/package_core.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -208,12 +208,12 @@ jobs:
208208
run: |
209209
mkdir Blink/
210210
wget -nv https://raw.githubusercontent.com/arduino/arduino-examples/refs/heads/main/examples/01.Basics/Blink/Blink.ino -P Blink/
211-
echo "ALL_LIBRARIES<<EOF" >> $GITHUB_ENV
212-
(cd libraries && ls | xargs printf "- %s\n") | tee -a $GITHUB_ENV
213-
find libraries/ -name library.properties | while read -r propfile; do
211+
echo -n "ALL_LIBRARIES=<<EOF" >> $GITHUB_ENV
212+
find ArduinoCore/libraries/ -name library.properties | while read -r propfile; do
214213
grep '^depends=' "$propfile" | cut -d= -f2 | tr ',' '\n' | while read -r dep; do
215-
printf "- %s\n" "$dep" | tee -a $GITHUB_ENV
214+
printf " - name: %s\n" "$dep" | tee -a $GITHUB_ENV
216215
done
216+
printf " - source_path: %s\n" $(find ArduinoCore/libraries/ -maxdepth 1 -mindepth 1 -type d) | tee -a $GITHUB_ENV
217217
done
218218
echo "EOF" >> $GITHUB_ENV
219219

0 commit comments

Comments
 (0)