From 720732eba6b6da135ff6abe86ecf6f2b7b0396f5 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Thu, 19 May 2022 19:16:52 +0300 Subject: [PATCH] Fix env section location --- .github/workflows/examples.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index 4906bbaf..613bc918 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -2,31 +2,31 @@ name: Examples on: [push, pull_request] +env: + PIO_INSTALL_DEVPLATFORM_OWNERNAMES: "platformio" + PIO_INSTALL_DEVPLATFORM_NAMES: "aceinna_imu,atmelavr,atmelmegaavr,atmelsam,espressif32,espressif8266,nordicnrf52,raspberrypi,ststm32,teensy" + jobs: build: strategy: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: [3.7] runs-on: ${{ matrix.os }} + steps: - uses: actions/checkout@v3 with: submodules: "recursive" - - name: Set up Python ${{ matrix.python-version }} + - name: Set up Python uses: actions/setup-python@v3 with: - python-version: ${{ matrix.python-version }} + python-version: "3.7" - name: Install dependencies run: | python -m pip install --upgrade pip pip install tox - - name: Configure dev-platform installer - env: - PIO_INSTALL_DEVPLATFORM_OWNERNAMES: "platformio" - PIO_INSTALL_DEVPLATFORM_NAMES: "aceinna_imu,atmelavr,atmelmegaavr,atmelsam,espressif32,espressif8266,nordicnrf52,raspberrypi,ststm32,teensy" - name: Run on Linux if: startsWith(matrix.os, 'ubuntu')