This commit is contained in:
Sergey Ladanov 2023-09-13 13:50:57 +03:00
commit 87d2468313
3 changed files with 34 additions and 0 deletions

9
Dockerfile Normal file
View File

@ -0,0 +1,9 @@
FROM debian:stable-slim
RUN apt-get update && \
apt-get install \
python3 \
python3-pip \
-y && \
rm -rf /var/cache/apt && \
pip3 install platformio

16
README.md Normal file
View File

@ -0,0 +1,16 @@
## Пример настройки CI/CD
```
jobs:
build:
name: Building project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
uses: embedd-actions/platformio-ci@v1
```

9
action.yml Normal file
View File

@ -0,0 +1,9 @@
name: 'Platformio build'
description: 'Building platformio projects'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- pio
- run