@@ -55,10 +55,20 @@ jobs:
55
55
git clone --quiet https://github.com/adafruit/Adafruit_TinyUSB_Arduino /home/runner/Arduino/libraries/Adafruit_TinyUSB_Arduino
56
56
git clone --depth 1 --branch wippersnapper https://github.com/brentru/lvgl.git /home/runner/Arduino/libraries/lvgl
57
57
git clone --depth 1 --branch development https://github.com/brentru/Adafruit_LvGL_Glue.git /home/runner/Arduino/libraries/Adafruit_LittlevGL_Glue_Library
58
- - name : Download and install stable Nanopb
58
+ - name : Cache nanopb
59
+ id : cache-nanopb
60
+ uses : actions/cache@v3
61
+ env :
62
+ cache-name : cache-node-modules
63
+ with :
64
+ path : ./nanopb-0.4.8.tar.gz
65
+ key : nanopb-0.4.8.tar.gz
66
+ - if : ${{ steps.cache-nanopb.outputs.cache-hit != 'true' }}
67
+ name : Download stable Nanopb
59
68
run : |
60
- # Download and extract nanopb
61
69
wget https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.8.tar.gz
70
+ - name : Install stable Nanopb
71
+ run : |
62
72
tar -xf nanopb-0.4.8.tar.gz
63
73
# Copy files to WipperSnapper's src/nanopb directory
64
74
cp nanopb/pb_common.* nanopb/pb_encode.* nanopb/pb_decode.* src/nanopb
@@ -199,10 +209,20 @@ jobs:
199
209
git clone --quiet https://github.com/adafruit/Adafruit_TinyUSB_Arduino /home/runner/Arduino/libraries/Adafruit_TinyUSB_Arduino
200
210
git clone --depth 1 --branch wippersnapper https://github.com/brentru/lvgl.git /home/runner/Arduino/libraries/lvgl
201
211
git clone --depth 1 --branch development https://github.com/brentru/Adafruit_LvGL_Glue.git /home/runner/Arduino/libraries/Adafruit_LittlevGL_Glue_Library
202
- - name : Download and install stable Nanopb
212
+ - name : Cache nanopb
213
+ id : cache-nanopb
214
+ uses : actions/cache@v3
215
+ env :
216
+ cache-name : cache-node-modules
217
+ with :
218
+ path : ./nanopb-0.4.8.tar.gz
219
+ key : nanopb-0.4.8.tar.gz
220
+ - if : ${{ steps.cache-nanopb.outputs.cache-hit != 'true' }}
221
+ name : Download stable Nanopb
203
222
run : |
204
- # Download and extract nanopb
205
223
wget https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.8.tar.gz
224
+ - name : Install stable Nanopb
225
+ run : |
206
226
tar -xf nanopb-0.4.8.tar.gz
207
227
# Copy files to WipperSnapper's src/nanopb directory
208
228
cp nanopb/pb_common.* nanopb/pb_encode.* nanopb/pb_decode.* src/nanopb
@@ -278,10 +298,20 @@ jobs:
278
298
run : |
279
299
git clone --quiet https://github.com/milesburton/Arduino-Temperature-Control-Library.git /home/runner/Arduino/libraries/Arduino-Temperature-Control-Library
280
300
git clone --quiet https://github.com/pstolarz/OneWireNg.git /home/runner/Arduino/libraries/OneWireNg
281
- - name : Download and install stable Nanopb
301
+ - name : Cache nanopb
302
+ id : cache-nanopb
303
+ uses : actions/cache@v3
304
+ env :
305
+ cache-name : cache-node-modules
306
+ with :
307
+ path : ./nanopb-0.4.8.tar.gz
308
+ key : nanopb-0.4.8.tar.gz
309
+ - if : ${{ steps.cache-nanopb.outputs.cache-hit != 'true' }}
310
+ name : Download stable Nanopb
282
311
run : |
283
- # Download and extract nanopb
284
312
wget https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.8.tar.gz
313
+ - name : Install stable Nanopb
314
+ run : |
285
315
tar -xf nanopb-0.4.8.tar.gz
286
316
# Copy files to WipperSnapper's src/nanopb directory
287
317
cp nanopb/pb_common.* nanopb/pb_encode.* nanopb/pb_decode.* src/nanopb
@@ -385,10 +415,20 @@ jobs:
385
415
git clone --quiet https://github.com/milesburton/Arduino-Temperature-Control-Library.git /home/runner/Arduino/libraries/Arduino-Temperature-Control-Library
386
416
git clone --quiet https://github.com/PaulStoffregen/OneWire.git /home/runner/Arduino/libraries/OneWire
387
417
git clone --quiet https://github.com/adafruit/Adafruit_TinyUSB_Arduino /home/runner/Arduino/libraries/Adafruit_TinyUSB_Arduino
388
- - name : Download and install stable Nanopb
418
+ - name : Cache nanopb
419
+ id : cache-nanopb
420
+ uses : actions/cache@v3
421
+ env :
422
+ cache-name : cache-node-modules
423
+ with :
424
+ path : ./nanopb-0.4.8.tar.gz
425
+ key : nanopb-0.4.8.tar.gz
426
+ - if : ${{ steps.cache-nanopb.outputs.cache-hit != 'true' }}
427
+ name : Download stable Nanopb
389
428
run : |
390
- # Download and extract nanopb
391
429
wget https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.8.tar.gz
430
+ - name : Install stable Nanopb
431
+ run : |
392
432
tar -xf nanopb-0.4.8.tar.gz
393
433
# Copy files to WipperSnapper's src/nanopb directory
394
434
cp nanopb/pb_common.* nanopb/pb_encode.* nanopb/pb_decode.* src/nanopb
@@ -437,10 +477,20 @@ jobs:
437
477
git clone --quiet https://github.com/pstolarz/OneWireNg.git /home/runner/Arduino/libraries/OneWireNg
438
478
git clone --quiet https://github.com/pstolarz/Arduino-Temperature-Control-Library.git /home/runner/Arduino/libraries/Arduino-Temperature-Control-Library
439
479
git clone --quiet https://github.com/adafruit/Adafruit_TinyUSB_Arduino /home/runner/Arduino/libraries/Adafruit_TinyUSB_Arduino
440
- - name : Download and install stable Nanopb
480
+ - name : Cache nanopb
481
+ id : cache-nanopb
482
+ uses : actions/cache@v3
483
+ env :
484
+ cache-name : cache-node-modules
485
+ with :
486
+ path : ./nanopb-0.4.8.tar.gz
487
+ key : nanopb-0.4.8.tar.gz
488
+ - if : ${{ steps.cache-nanopb.outputs.cache-hit != 'true' }}
489
+ name : Download stable Nanopb
441
490
run : |
442
- # Download and extract nanopb
443
491
wget https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.8.tar.gz
492
+ - name : Install stable Nanopb
493
+ run : |
444
494
tar -xf nanopb-0.4.8.tar.gz
445
495
# Copy files to WipperSnapper's src/nanopb directory
446
496
cp nanopb/pb_common.* nanopb/pb_encode.* nanopb/pb_decode.* src/nanopb
@@ -488,10 +538,20 @@ jobs:
488
538
git clone --quiet https://github.com/arduino-libraries/Servo.git /home/runner/Arduino/libraries/Servo
489
539
git clone --quiet https://github.com/milesburton/Arduino-Temperature-Control-Library.git /home/runner/Arduino/libraries/Arduino-Temperature-Control-Library
490
540
git clone --quiet https://github.com/PaulStoffregen/OneWire.git /home/runner/Arduino/libraries/OneWire
491
- - name : Download and install stable Nanopb
541
+ - name : Cache nanopb
542
+ id : cache-nanopb
543
+ uses : actions/cache@v3
544
+ env :
545
+ cache-name : cache-node-modules
546
+ with :
547
+ path : ./nanopb-0.4.8.tar.gz
548
+ key : nanopb-0.4.8.tar.gz
549
+ - if : ${{ steps.cache-nanopb.outputs.cache-hit != 'true' }}
550
+ name : Download stable Nanopb
492
551
run : |
493
- # Download and extract nanopb
494
552
wget https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.8.tar.gz
553
+ - name : Install stable Nanopb
554
+ run : |
495
555
tar -xf nanopb-0.4.8.tar.gz
496
556
# Copy files to WipperSnapper's src/nanopb directory
497
557
cp nanopb/pb_common.* nanopb/pb_encode.* nanopb/pb_decode.* src/nanopb
@@ -527,10 +587,20 @@ jobs:
527
587
run : |
528
588
git clone --quiet https://github.com/milesburton/Arduino-Temperature-Control-Library.git /home/runner/Arduino/libraries/Arduino-Temperature-Control-Library
529
589
git clone --quiet https://github.com/PaulStoffregen/OneWire.git /home/runner/Arduino/libraries/OneWire
530
- - name : Download and install stable Nanopb
590
+ - name : Cache nanopb
591
+ id : cache-nanopb
592
+ uses : actions/cache@v3
593
+ env :
594
+ cache-name : cache-node-modules
595
+ with :
596
+ path : ./nanopb-0.4.8.tar.gz
597
+ key : nanopb-0.4.8.tar.gz
598
+ - if : ${{ steps.cache-nanopb.outputs.cache-hit != 'true' }}
599
+ name : Download stable Nanopb
531
600
run : |
532
- # Download and extract nanopb
533
601
wget https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.8.tar.gz
602
+ - name : Install stable Nanopb
603
+ run : |
534
604
tar -xf nanopb-0.4.8.tar.gz
535
605
# Copy files to WipperSnapper's src/nanopb directory
536
606
cp nanopb/pb_common.* nanopb/pb_encode.* nanopb/pb_decode.* src/nanopb
@@ -600,10 +670,20 @@ jobs:
600
670
git clone --quiet https://github.com/adafruit/Adafruit_TinyUSB_Arduino /home/runner/Arduino/libraries/Adafruit_TinyUSB_Arduino
601
671
git clone --depth 1 --branch wippersnapper https://github.com/brentru/lvgl.git /home/runner/Arduino/libraries/lvgl
602
672
git clone --depth 1 --branch development https://github.com/brentru/Adafruit_LvGL_Glue.git /home/runner/Arduino/libraries/Adafruit_LittlevGL_Glue_Library
603
- - name : Download and install stable Nanopb
673
+ - name : Cache nanopb
674
+ id : cache-nanopb
675
+ uses : actions/cache@v3
676
+ env :
677
+ cache-name : cache-node-modules
678
+ with :
679
+ path : ./nanopb-0.4.8.tar.gz
680
+ key : nanopb-0.4.8.tar.gz
681
+ - if : ${{ steps.cache-nanopb.outputs.cache-hit != 'true' }}
682
+ name : Download stable Nanopb
604
683
run : |
605
- # Download and extract nanopb
606
684
wget https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.8.tar.gz
685
+ - name : Install stable Nanopb
686
+ run : |
607
687
tar -xf nanopb-0.4.8.tar.gz
608
688
# Copy files to WipperSnapper's src/nanopb directory
609
689
cp nanopb/pb_common.* nanopb/pb_encode.* nanopb/pb_decode.* src/nanopb
@@ -672,10 +752,20 @@ jobs:
672
752
run : |
673
753
git clone --quiet https://github.com/milesburton/Arduino-Temperature-Control-Library.git /home/runner/Arduino/libraries/Arduino-Temperature-Control-Library
674
754
git clone --quiet https://github.com/pstolarz/OneWireNg.git /home/runner/Arduino/libraries/OneWireNg
675
- - name : Download and install stable Nanopb
755
+ - name : Cache nanopb
756
+ id : cache-nanopb
757
+ uses : actions/cache@v3
758
+ env :
759
+ cache-name : cache-node-modules
760
+ with :
761
+ path : ./nanopb-0.4.8.tar.gz
762
+ key : nanopb-0.4.8.tar.gz
763
+ - if : ${{ steps.cache-nanopb.outputs.cache-hit != 'true' }}
764
+ name : Download stable Nanopb
676
765
run : |
677
- # Download and extract nanopb
678
766
wget https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.8.tar.gz
767
+ - name : Install stable Nanopb
768
+ run : |
679
769
tar -xf nanopb-0.4.8.tar.gz
680
770
# Copy files to WipperSnapper's src/nanopb directory
681
771
cp nanopb/pb_common.* nanopb/pb_encode.* nanopb/pb_decode.* src/nanopb
0 commit comments