15 lines
398 B
YAML
15 lines
398 B
YAML
name: Compile
|
|
run-name: ${{ github.actor }} is compiling
|
|
on: [push]
|
|
jobs:
|
|
Compile:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Compile
|
|
run: |
|
|
cd ${{ github.workspace }}
|
|
echo -en '#define WIFI_SSID "<ssid>"\n#define WIFI_PASS "<pass>"\n' >src/secrets.h
|
|
/root/.platformio/penv/bin/pio run
|