File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626 - src : ' blink'
2727 lib : ' DeviceNameHelperRK MyLib'
2828 - src : ' publish'
29- lib : ' DeviceNameHelperRK FileHelperRK SequentialFileRK PublishQueueExtRK SparkFun_Qwiic_OpenLog_Arduino_Library'
30- other : ' LoggerCore/src/LoggerPlatform* LoggerCore/src/LoggerUtils* LoggerCore/src/LoggerPublisher* LoggerCore/src/LoggerSD*'
29+ lib : ' LoggerCore DeviceNameHelperRK FileHelperRK SequentialFileRK PublishQueueExtRK SparkFun_Qwiic_OpenLog_Arduino_Library'
30+ # other: 'LoggerCore/src/LoggerPlatform* LoggerCore/src/LoggerUtils* LoggerCore/src/LoggerPublisher* LoggerCore/src/LoggerSD*'
3131
3232 steps :
3333 - name : Checkout code
4747 run : |
4848 echo "Including libraries:"
4949 for lib in ${{ matrix.program.lib }}; do
50- echo " - lib/$lib/src/*"
51- mv lib/$lib/src/* ${{ matrix.program.src }}
50+ if [ -d "lib/$lib" ]; then
51+ echo " - lib/$lib/src/*"
52+ mv lib/$lib/src/* ${{ matrix.program.src }}
53+ else
54+ echo " - could not find $lib, make sure the library exists"
55+ exit 1
56+ fi
5257 done
5358
5459 - name : Gather other application resources
5762 echo "Including other resources:"
5863 for other in ${{ matrix.program.other }}; do
5964 echo " - $other"
65+ find $other -name '*.pdf' -exec mv -t pdfs {} +
6066 mv $other ${{ matrix.program.src }}
6167 done
6268
You can’t perform that action at this time.
0 commit comments