* workflow update

This commit is contained in:
lumapu 2022-07-06 22:33:44 +02:00
parent 12fa17ee11
commit 21e61b3303

View file

@ -1,12 +1,18 @@
name: PlatformIO ESP82266
on: [push]
on:
push:
branches: main
paths-ignore:
- '**.md' # Do no build on *.md changes
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: main
- name: Cache pip
uses: actions/cache@v3
with:
@ -27,5 +33,8 @@ jobs:
pip install --upgrade platformio
- name: Run PlatformIO
run: |
pio project config -d tools/esp8266
pio run -e d1_mini
pio run -d tools/esp8266
- uses: actions/upload-artifact@v3
with:
name: firmware
path: ./build_output