Skip to content

Update release2.yml #229

Update release2.yml

Update release2.yml #229

Workflow file for this run

name: PlatformIO
on:
push:
tags-ignore:
- 'v*'
branches:
- master
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 1
matrix:
python-version: [3.7]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -U platformio
platformio update
- name: Build test
run: |
pio run
- uses: actions/upload-artifact@v2
with:
name: Medidor_CO2_Gadget_TTGO_T-Display_normal
path: .pio/build/esp32dev/firmware.bin
- uses: actions/upload-artifact@v2
with:
name: Medidor_CO2_Gadget_TTGO_T-Display_sandwich
path: .pio/build/esp32dev-sandwich/firmware.bin