Use stable Platformio for CI (#14719)

* Use stable Platformio
This commit is contained in:
Jason2866 2022-02-04 11:22:49 +01:00 committed by GitHub
parent 7669c9b471
commit bd80e67a22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,6 +14,7 @@ on:
- '**.properties' - '**.properties'
- 'pio-tools/*.py' - 'pio-tools/*.py'
- '**.ini' - '**.ini'
- '.github/workflows/build_all_the_things.yml'
jobs: jobs:
base-images: base-images:
@ -47,10 +48,10 @@ jobs:
uses: actions/setup-python@v1 uses: actions/setup-python@v1
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip #python -m pip install --upgrade pip
pip install -U platformio pip install -U platformio
platformio upgrade --dev #platformio upgrade --dev
platformio update #platformio update
- name: Run PlatformIO - name: Run PlatformIO
run: platformio run -e ${{ matrix.variant }} run: platformio run -e ${{ matrix.variant }}
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
@ -71,10 +72,10 @@ jobs:
uses: actions/setup-python@v1 uses: actions/setup-python@v1
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip #python -m pip install --upgrade pip
pip install -U platformio pip install -U platformio
platformio upgrade --dev #platformio upgrade --dev
platformio update #platformio update
- name: Run PlatformIO - name: Run PlatformIO
run: platformio run -e ${{ matrix.variant }}-${{ matrix.language }} run: platformio run -e ${{ matrix.variant }}-${{ matrix.language }}
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2