From 28e33dd396c37e7aaedec2ad343c0106aa36bada Mon Sep 17 00:00:00 2001 From: Rune Harlyk Date: Thu, 25 Apr 2024 18:17:29 +0200 Subject: [PATCH] Updates the building workflow to build firmware --- .github/workflows/pio-build.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pio-build.yml b/.github/workflows/pio-build.yml index 96c2084..8685a36 100644 --- a/.github/workflows/pio-build.yml +++ b/.github/workflows/pio-build.yml @@ -1,4 +1,4 @@ -name: Frontend Tests +name: PlatformIO Build on: push: @@ -13,6 +13,9 @@ on: permissions: contents: read +env: + DEVICE: esp32cam + jobs: build: runs-on: ubuntu-latest @@ -27,5 +30,5 @@ jobs: python-version: '3.x' - name: Install PlatformIO run: pip install platformio - - name: Run PlatformIO Test - run: pio test -e esp32cam \ No newline at end of file + - name: Build using PlatformIO + run: pio run -e $DEVICE \ No newline at end of file