Skip to content

Commit 55d981e

Browse files
authored
Update release.yml
1 parent 153918e commit 55d981e

File tree

1 file changed

+9
-19
lines changed

1 file changed

+9
-19
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,13 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- name: Checkout repository
17-
uses: actions/checkout@v2
18-
19-
- name: Set up Python
20-
uses: actions/setup-python@v2
16+
- name: Checkout repo
17+
uses: actions/checkout@v4
2118
with:
22-
python-version: '3.11.2'
23-
24-
- name: Install ESP-IDF
25-
run: |
26-
sudo apt-get install -y git wget flex bison gperf python3 python3-pip python3-setuptools cmake ninja-build ccache libffi-dev libssl-dev dfu-util libusb-1.0-0
27-
git clone --recursive https://github.com/espressif/esp-idf.git
28-
cd esp-idf
29-
./install.sh
30-
. ./export.sh
31-
32-
- name: Build project
33-
run: |
34-
. $GITHUB_WORKSPACE/esp-idf/export.sh
35-
idf.py build
19+
submodules: 'recursive'
20+
- name: esp-idf build
21+
uses: espressif/esp-idf-ci-action@v1
22+
with:
23+
esp_idf_version: v5.0.2
24+
target: esp32s3
25+
path: 'source'

0 commit comments

Comments
 (0)