File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -67,16 +67,19 @@ jobs:
67
67
uses : actions/download-artifact@v4
68
68
with :
69
69
name : slave_firmware
70
- path : .
70
+ path : slave_firmware_temp
71
71
- name : Add slave_firmware to framework zip
72
72
run : |
73
73
echo "Listing current directory:"
74
74
ls -la
75
- echo "Listing slave_firmware directory:"
76
- ls -la slave_firmware/ || echo "slave_firmware directory not found"
75
+ echo "Listing slave_firmware_temp directory:"
76
+ ls -la slave_firmware_temp/ || echo "slave_firmware_temp directory not found"
77
+ echo "Listing slave_firmware_temp/wifi_copro_fw directory:"
78
+ ls -la slave_firmware_temp/wifi_copro_fw/ || echo "wifi_copro_fw directory not found"
77
79
FRAMEWORK_ZIP=$(ls dist/framework*.zip | head -n 1)
78
80
unzip -q "$FRAMEWORK_ZIP" -d dist/unpacked
79
- cp -r slave_firmware/wifi_copro_fw dist/unpacked/framework-arduinoespressif32/tools/slave_firmware
81
+ mkdir -p dist/unpacked/framework-arduinoespressif32/tools/slave_firmware
82
+ cp -r slave_firmware_temp/wifi_copro_fw/* dist/unpacked/framework-arduinoespressif32/tools/slave_firmware/
80
83
(cd dist/unpacked && zip -qr ../$(basename "$FRAMEWORK_ZIP") .)
81
84
- name : Release
82
85
You can’t perform that action at this time.
0 commit comments