Skip to content

Commit c605b00

Browse files
committed
fixes
1 parent a6cbfa8 commit c605b00

File tree

2 files changed

+8
-16
lines changed

2 files changed

+8
-16
lines changed

.github/workflows/push.yml

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ jobs:
1818
run: |
1919
echo "GIT_BRANCH=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_ENV
2020
- name: Build Arduino Libs
21-
env:
22-
GITHUB_TOKEN: ${{ secrets.PUSH_TOKEN }}
23-
GIT_AUTHOR_EMAIL: ${{ secrets.PUSH_EMAIL }}
2421
run: bash ./build.sh
2522
- name: Upload artifacts
2623
uses: actions/upload-artifact@v4
2724
with:
2825
name: framework
26+
path: |
27+
dist/framework*
28+
release-info.txt
2929
3030
build-slave_firmware:
3131
name: Build Slave Firmware
@@ -38,21 +38,15 @@ jobs:
3838
python-version: '3.11'
3939
- name: Install dependencies
4040
run: bash ./tools/prepare-ci.sh
41-
- name: Get current branch
42-
run: |
43-
echo "GIT_BRANCH=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_ENV
4441
- name: Build slave firmware
45-
env:
46-
GITHUB_TOKEN: ${{ secrets.PUSH_TOKEN }}
47-
GIT_AUTHOR_EMAIL: ${{ secrets.PUSH_EMAIL }}
4842
run: |
49-
cd tools
50-
bash ./compile_slave.sh
51-
cd ..
43+
bash ./tools/compile_slave.sh
5244
- name: Upload artifacts
5345
uses: actions/upload-artifact@v4
5446
with:
55-
name: framework
47+
name: slave_firmware
48+
path: |
49+
wifi_copro_fw
5650
5751
release_framework:
5852
name: Release Framework
@@ -66,8 +60,6 @@ jobs:
6660
python-version: '3.11'
6761
- name: Download artifacts
6862
uses: actions/download-artifact@v4
69-
with:
70-
name: framework
7163

7264
- name: Release
7365
uses: jason2866/action-gh-release@v1.3
@@ -76,6 +68,7 @@ jobs:
7668
body_path: release-info.txt
7769
prerelease: true
7870
files: |
71+
wifi_copro_fw/*
7972
dist/framework*
8073
release-info.txt
8174
env:

tools/compile_slave.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
export IDF_CCACHE_ENABLE=$CCACHE_ENABLE
66

7-
mkdir -p dist
87
rm -rf dependencies.lock
98

109
echo "* Installing/Updating ESP-IDF and all components..."

0 commit comments

Comments
 (0)