Skip to content

Commit

Permalink
Create build_firmware.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
duchenpaul committed Aug 22, 2020
1 parent 4c064e1 commit bfa5020
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/build_firmware.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Build Firmware

on:
release:
types: [published]
push:
branches:
- master

# schedule:
# - cron: 0 8 * * 5
# watch:
# types: [started]

jobs:
build:
runs-on: ubuntu-18.04

steps:
- name: Checkout
uses: actions/checkout@master

- name: Set up Python
uses: actions/setup-python@v1

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install platformio
- name: Run PlatformIO
run: |
cd /home/runner/work/esp_dc1/esp_dc1
platformio run
- name : Upload artifact
uses: actions/upload-artifact@master
with:
name: firmware
path: /home/runner/work/esp_dc1/esp_dc1/.pio/build/dc1/firmware.bin

0 comments on commit bfa5020

Please sign in to comment.