22 lines
479 B
YAML
22 lines
479 B
YAML
name: Build PlatformIO with Docker
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Build with PlatformIO (Docker)
|
|
run: |
|
|
docker run --rm \
|
|
-v "${{ github.workspace }}:/workspace/reptil1990/AquaMasterMQTT" \
|
|
-w /workspace/reptil1990/AquaMasterMQTT \
|
|
-u root \
|
|
sglahn/platformio-core:latest run
|