Skip to content

Commit ced3c13

Browse files
authored
Update parallel_build.yaml
1 parent f61e7ee commit ced3c13

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

.github/workflows/parallel_build.yaml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
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
@@ -63,7 +63,7 @@ jobs:
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
@@ -79,16 +79,6 @@ jobs:
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/

0 commit comments

Comments
 (0)