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