From 5bfd5f285b15af6f9c24c46aa76812eec329ac23 Mon Sep 17 00:00:00 2001 From: Jeppe Pihl Date: Wed, 17 Apr 2024 11:02:15 +0200 Subject: [PATCH] platformio fix --- .github/workflows/platformio.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/platformio.yml b/.github/workflows/platformio.yml index 48273e8..b85bfc0 100644 --- a/.github/workflows/platformio.yml +++ b/.github/workflows/platformio.yml @@ -1,35 +1,35 @@ name: PlatformIO -'on': +"on": workflow_dispatch: inputs: extra_resolve_options: description: Extra Resolve Options required: false schedule: - - cron: 0 1 * * * + - cron: 0 1 * * * push: branches: - - master + - master pull_request: jobs: platformio: name: PlatformIO Build runs-on: - - self-hosted - - docker - - builder + - self-hosted + - docker + - builder container: - image: ghcr.io/steinwurf/platformio:1.0.0 + image: ghcr.io/steinwurf/platformio:2.0.0 options: --user 0:0 volumes: - - /home/buildbot/.ssh:/root/.ssh + - /home/buildbot/.ssh:/root/.ssh steps: - - name: Checkout source code - uses: actions/checkout@v2 - - name: Install Library with PlatformIO - run: pio lib -g install file://. - - name: Build example - run: pio ci --board=esp32dev examples/platform_io_example.ino + - name: Checkout source code + uses: actions/checkout@v2 + - name: Install Library with PlatformIO + run: pio lib -g install file://. + - name: Build example + run: pio ci --board=esp32dev examples/platform_io_example.ino concurrency: group: ${{ github.workflow }}-${{ github.ref || github.run_id }} cancel-in-progress: true