From 8e22bff38e1ca3def7bf8a2475d44455efd9b93a Mon Sep 17 00:00:00 2001 From: Lyubomir Penev Date: Wed, 22 Oct 2025 14:15:42 +0200 Subject: [PATCH] Changed runner to use platformio --- .gitea/workflows/attempt-build.yaml | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/attempt-build.yaml b/.gitea/workflows/attempt-build.yaml index 8660558..b200a38 100644 --- a/.gitea/workflows/attempt-build.yaml +++ b/.gitea/workflows/attempt-build.yaml @@ -7,9 +7,20 @@ on: jobs: build: runs-on: ubuntu-latest - steps: - - name: Check out repository code - uses: actions/checkout@v4 - - name: Run make - run: make + steps: + - uses: actions/checkout@v4 + - uses: actions/cache@v4 + with: + path: | + ~/.cache/pip + ~/.platformio/.cache + key: ${{ runner.os }}-pio + - uses: actions/setup-python@v5 + with: + python-version: '3.11' + - name: Install PlatformIO Core + run: pip install --upgrade platformio + + - name: Build PlatformIO Project + run: pio run