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:
|
||||
push:
|
||||
@@ -9,9 +9,12 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Build with PlatformIO Docker
|
||||
- name: Build with sglahn/platformio-core
|
||||
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