From 73a324ccefc045db7fb212e5a16d3a82b1774667 Mon Sep 17 00:00:00 2001 From: Carsten Graf Date: Tue, 17 Jun 2025 09:30:16 +0200 Subject: [PATCH] update build --- .github/workflows/build.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f2583b1..f1fabea 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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