Skip to content

Commit ed237b2

Browse files
authored
Update examples.yml
1 parent 502bb4f commit ed237b2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/examples.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,24 +46,25 @@ jobs:
4646
with:
4747
python-version: "3.11"
4848
- name: Install Windows dependencies
49+
if: "matrix.os == 'windows-2022'"
4950
run: |
5051
python -m pip install --upgrade pip
5152
pip install wheel
5253
pip install -U https://github.com/platformio/platformio/archive/develop.zip
5354
pio pkg install --global --platform file://.
54-
if: "matrix.os == 'windows-2022'"
5555
env:
5656
PLATFORMIO_CORE_DIR: C:\plat
5757
PLATFORMIO_PACKAGES_DIR: C:\plat\pack
5858
PLATFORMIO_PLATFORMS_DIR: C:\plat\plat
5959
- name: Build Windows examples
60-
run: pio run -d ${{ matrix.example }}
6160
if: "matrix.example != 'examples/tasmota' && matrix.os == 'windows-2022'"
61+
run: pio run -d ${{ matrix.example }}
6262
env:
6363
PLATFORMIO_CORE_DIR: C:\plat
6464
PLATFORMIO_PACKAGES_DIR: C:\plat\pack
6565
PLATFORMIO_PLATFORMS_DIR: C:\plat\plat
6666
- name: Install Ubuntu Mac dependencies
67+
if: "matrix.os != 'windows-2022'"
6768
run: |
6869
python -m pip install --upgrade pip
6970
pip install wheel
@@ -75,7 +76,7 @@ jobs:
7576
git clone -b development --depth 1 https://github.com/arendst/Tasmota.git examples/tasmota
7677
cp examples/tasmota_platformio_override.ini examples/tasmota/platformio_override.ini
7778
- name: Build Ubuntu Mac examples
78-
if: "matrix.example != 'examples/tasmota' || matrix.os != 'windows-2022'"
79+
if: "matrix.os != 'windows-2022'"
7980
run: |
8081
pio run -d ${{ matrix.example }}
8182

0 commit comments

Comments
 (0)