Skip to content

Merge branch 'main' of https://github.com/d03n3rfr1tz3/esp32-divoom i… #28

Merge branch 'main' of https://github.com/d03n3rfr1tz3/esp32-divoom i…

Merge branch 'main' of https://github.com/d03n3rfr1tz3/esp32-divoom i… #28

Workflow file for this run

name: Compile Project
# The workflow will run on every push and pull request to the repository
on:
workflow_dispatch:
# (optional) Run workflow when pushing on master/main
push:
pull_request:
branches: ["main"]
schedule:
- cron: '0 0 1 * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/.cache/pip
~/.platformio/.cache
key: ${{ runner.os }}-pio
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install PlatformIO Core
run: pip install --upgrade platformio
- name: Build PlatformIO Project
run: pio run
- name: Archive ESP32 Firmware
uses: actions/upload-artifact@v4
with:
name: esp32-divoom
path: .pio/build/esp32dev/*.bin