File tree 2 files changed +6
-7
lines changed
2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 1
- name : Build for ESP8266-ESP32
2
-
1
+ name : Build Examples for ESP8266 and ESP32
3
2
on :
3
+ workflow_dispatch :
4
+
4
5
pull_request :
5
6
branches : [ master ]
6
7
paths :
@@ -31,15 +32,14 @@ jobs:
31
32
path : ~/.platformio
32
33
key : ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
33
34
- name : Step 4 - Set up Python
34
- uses : actions/setup-python@v4
35
+ uses : actions/setup-python@v3
35
36
- name : Step 5 - Install PlatformIO
36
37
run : |
37
38
python -m pip install --upgrade pip
38
39
pip install --upgrade platformio
39
40
- name : Step 6 - Install library dependencies
40
41
run : |
41
- pio lib --global install "bblanchon/ArduinoJson"
42
- pio lib --global install "links2004/WebSockets"
42
+ pio pkg install -l "bblanchon/ArduinoJson" -l "links2004/WebSockets" -g
43
43
- name : Step 7 - Run build test using PlatformIO
44
44
run : pio ci --lib="." -b esp12e -b esp32dev
45
45
env :
Original file line number Diff line number Diff line change 30
30
pio pkg install --global --platform https://github.com/maxgerhardt/platform-raspberrypi.git
31
31
- name : Step 4 - Install library dependencies
32
32
run : |
33
- pio lib --global install "bblanchon/ArduinoJson"
34
- pio lib --global install "links2004/WebSockets"
33
+ pio pkg install -l "bblanchon/ArduinoJson" -l "links2004/WebSockets" -g
35
34
- name : Step 5 - Run build test using PlatformIO
36
35
run : pio ci --lib="." -b rpipicow
37
36
env :
You can’t perform that action at this time.
0 commit comments