update build
This commit is contained in:
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@@ -1,4 +1,4 @@
|
|||||||
name: Build PlatformIO Project
|
name: Build PlatformIO with Docker
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -9,9 +9,12 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Build with PlatformIO Docker
|
- name: Build with sglahn/platformio-core
|
||||||
run: |
|
run: |
|
||||||
docker run --rm -v $PWD:/project -w /project sglahn/platformio-core:latest pio run
|
docker run --rm \
|
||||||
|
--mount type=bind,source="$(pwd)",target=/workspace \
|
||||||
|
-w /workspace \
|
||||||
|
sglahn/platformio-core:latest run
|
||||||
|
|||||||
Reference in New Issue
Block a user