mirror of
https://github.com/embedd-actions/platformio-ci.git
synced 2025-04-21 08:35:37 +03:00
Compare commits
No commits in common. "master" and "v1" have entirely different histories.
@ -9,9 +9,3 @@ RUN apt-get update && \
|
|||||||
&& \
|
&& \
|
||||||
rm -rf /var/cache/apt && \
|
rm -rf /var/cache/apt && \
|
||||||
pip3 install platformio --break-system-packages
|
pip3 install platformio --break-system-packages
|
||||||
|
|
||||||
ADD entrypoint.sh /entrypoint.sh
|
|
||||||
|
|
||||||
RUN chmod +x /entrypoint.sh
|
|
||||||
|
|
||||||
ENTRYPOINT [ "/entrypoint.sh" ]
|
|
||||||
|
11
README.md
11
README.md
@ -1,10 +1,6 @@
|
|||||||
# platformio-ci
|
|
||||||
|
|
||||||
Building platformio projects
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```yml
|
```
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -14,7 +10,6 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
uses: embedd-actions/platformio-ci@v2
|
uses: embedd-actions/platformio-ci@v1
|
||||||
with: # Optional you can change command
|
|
||||||
command: pio run
|
|
||||||
```
|
```
|
||||||
|
10
action.yml
10
action.yml
@ -1,13 +1,9 @@
|
|||||||
name: 'Platformio build'
|
name: 'Platformio build'
|
||||||
description: 'Building platformio projects'
|
description: 'Building platformio projects'
|
||||||
inputs:
|
|
||||||
command:
|
|
||||||
description: 'Command'
|
|
||||||
required: true
|
|
||||||
default: pio run
|
|
||||||
runs:
|
runs:
|
||||||
using: 'docker'
|
using: 'docker'
|
||||||
image: 'docker://sergeyladanov/platformio:v2'
|
image: 'docker://sergeyladanov/platformio:v1'
|
||||||
args:
|
args:
|
||||||
- ${{ inputs.command }}
|
- pio
|
||||||
|
- run
|
||||||
|
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
exec $@
|
|
Loading…
x
Reference in New Issue
Block a user