File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change 28
28
uses : actions/upload-artifact@v4
29
29
with :
30
30
name : artifacts-${{ matrix.target }}
31
- path : dist
31
+ path : framework-arduinoespressif32
32
32
33
33
build-slave_firmware :
34
34
name : Build Slave Firmware
63
63
- name : Download build artifacts
64
64
uses : actions/download-artifact@v4
65
65
with :
66
- path : .
66
+ path : dist
67
67
pattern : artifacts-*
68
68
merge-multiple : true
69
69
- name : Download slave firmware
79
79
ls -la slave_firmware/ || echo "slave_firmware directory not found"
80
80
echo "Listing dist directory:"
81
81
ls -la dist/ || echo "dist directory not found"
82
- mkdir -p out dist/framework-arduinoespressif32
83
- # Combine all target builds
84
- for zip_file in dist/artifacts-*/framework-arduinoespressif32-*.zip; do
85
- echo "Processing $zip_file"
86
- unzip -q "$zip_file" -d out
87
- done
88
- # Remove Arduino IDE specific files (not needed for PlatformIO)
89
- rm -f out/package_esp32_index.template.json
90
- # Copy framework files
91
- cp -r out/* dist/framework-arduinoespressif32/
92
82
# Integrate slave firmware directly
93
83
mkdir -p dist/framework-arduinoespressif32/tools/slave_firmware
94
84
cp -r slave_firmware/* dist/framework-arduinoespressif32/tools/slave_firmware/
You can’t perform that action at this time.
0 commit comments