diff --git a/.github/workflows/platformio.yml b/.github/workflows/platformio.yml index 48273e8..a1840e1 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 pkg install -g -l 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 diff --git a/NEWS.rst b/NEWS.rst index b11e6e6..2d7cf99 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -6,7 +6,7 @@ every change, see the Git log. Latest ------ -* tbd +* Patch: Fix platformio build. 2.0.0 -----