File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change 46
46
47
47
- name : Set up Python
48
48
uses : actions/setup-python@v5
49
+ with :
50
+ python-version : " 3.x"
49
51
50
52
- name : Install PlatformIO
51
53
run : |
@@ -55,22 +57,32 @@ jobs:
55
57
- name : Build firmware
56
58
run : |
57
59
pio run -e ${{ matrix.pio_env }}
58
- pio run -e ${{ matrix.pio_env }} --target buildfs
59
- # sh ./copy_bins.sh
60
60
61
- - name : Copy files
61
+ - name : Copy firmware files
62
62
run : |
63
63
if [ -f .pio/build/${{ matrix.pio_env }}/firmware.bin ]; then
64
64
cp .pio/build/${{ matrix.pio_env }}/firmware.bin bin/${{ matrix.pio_env }}_firmware.bin
65
+ echo "Firmware copied"
65
66
fi
66
67
if [ -f .pio/build/${{ matrix.pio_env }}/partitions.bin ]; then
67
68
cp .pio/build/${{ matrix.pio_env }}/partitions.bin bin/${{ matrix.pio_env }}_partitions.bin
69
+ echo "Partitions copied"
68
70
fi
71
+
72
+ - name : Build filesystem
73
+ run : |
74
+ pio run -e ${{ matrix.pio_env }} --target buildfs
75
+ # sh ./copy_bins.sh
76
+
77
+ - name : Copy filesystem files
78
+ run : |
69
79
if [ -f .pio/build/${{ matrix.pio_env }}/spiffs.bin ]; then
70
80
cp .pio/build/${{ matrix.pio_env }}/spiffs.bin bin/${{ matrix.pio_env }}_spiffs.bin
81
+ echo "Spiffs copied"
71
82
fi
72
83
if [ -f .pio/build/${{ matrix.pio_env }}/littlefs.bin ]; then
73
84
cp .pio/build/${{ matrix.pio_env }}/littlefs.bin bin/${{ matrix.pio_env }}_spiffs.bin
85
+ echo "LittleFS copied"
74
86
fi
75
87
# TODO - Change the above from _spiffs to _filesystem
76
88
You can’t perform that action at this time.
0 commit comments