Skip to content

Commit 583e0d7

Browse files
committed
try to simplify
1 parent 7f48ccc commit 583e0d7

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/push.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -62,25 +62,19 @@ jobs:
6262
uses: actions/download-artifact@v4
6363
with:
6464
name: framework
65-
path: dist
66-
- name: Move framework files to dist root
67-
run: |
68-
if [ -d dist/dist ]; then
69-
mv dist/dist/* dist/
70-
rmdir dist/dist
71-
fi
65+
path: .
7266
- name: Download slave_firmware artifact
7367
uses: actions/download-artifact@v4
7468
with:
7569
name: slave_firmware
76-
path: slave_firmware
70+
path: .
7771
- name: Add slave_firmware to framework zip
7872
run: |
7973
FRAMEWORK_ZIP=$(ls dist/framework*.zip | head -n 1)
8074
unzip -q "$FRAMEWORK_ZIP" -d dist/unpacked
81-
cp -r slave_firmware dist/unpacked/framework-arduinoespressif32/tools/
75+
cp -r wifi_copro_fw dist/unpacked/framework-arduinoespressif32/tools/slave_firmware
8276
(cd dist/unpacked && zip -qr ../$(basename "$FRAMEWORK_ZIP") .)
83-
cp dist/release-info.txt ./
77+
cp release-info.txt ./
8478
- name: Release
8579
uses: jason2866/action-gh-release@v1.3
8680
with:

0 commit comments

Comments
 (0)