Skip to content

Commit 5fca544

Browse files
committed
Hopefully changed artifact workflows are correct
1 parent 86f6be2 commit 5fca544

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

.github/workflows/push.yml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,30 @@ jobs:
5858
uses: actions/setup-python@v5
5959
with:
6060
python-version: '3.11'
61-
- name: Download artifacts
61+
- name: Download framework artifact
6262
uses: actions/download-artifact@v4
63-
63+
with:
64+
name: framework
65+
path: dist
66+
- name: Download slave_firmware artifact
67+
uses: actions/download-artifact@v4
68+
with:
69+
name: slave_firmware
70+
path: slave_firmware
71+
- name: Add slave_firmware to framework zip
72+
run: |
73+
FRAMEWORK_ZIP=$(ls dist/framework*.zip | head -n 1)
74+
unzip -q "$FRAMEWORK_ZIP" -d dist/unpacked
75+
cp -r slave_firmware dist/unpacked/framework-arduinoespressif32/tools/
76+
(cd dist/unpacked && zip -qr ../$(basename "$FRAMEWORK_ZIP") .)
77+
cp dist/release-info.txt ./
6478
- name: Release
6579
uses: jason2866/action-gh-release@v1.3
6680
with:
6781
tag_name: ${{ github.run_number }}
6882
body_path: release-info.txt
6983
prerelease: true
7084
files: |
71-
wifi_copro_fw/*
7285
dist/framework*
7386
release-info.txt
7487
env:

0 commit comments

Comments
 (0)