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 2828 uses : actions/upload-artifact@v4
2929 with :
3030 name : artifacts-${{ matrix.target }}
31- path : dist
31+ path : framework-arduinoespressif32
3232
3333 build-slave_firmware :
3434 name : Build Slave Firmware
6363 - name : Download build artifacts
6464 uses : actions/download-artifact@v4
6565 with :
66- path : .
66+ path : dist
6767 pattern : artifacts-*
6868 merge-multiple : true
6969 - name : Download slave firmware
7979 ls -la slave_firmware/ || echo "slave_firmware directory not found"
8080 echo "Listing dist directory:"
8181 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/
9282 # Integrate slave firmware directly
9383 mkdir -p dist/framework-arduinoespressif32/tools/slave_firmware
9484 cp -r slave_firmware/* dist/framework-arduinoespressif32/tools/slave_firmware/
You can’t perform that action at this time.
0 commit comments