From 1449cacc0ef624c69a6c747bc0f12a23146ecef2 Mon Sep 17 00:00:00 2001 From: Manuel Weiser Date: Wed, 19 Feb 2025 11:58:26 +0100 Subject: [PATCH] feat: update Gitea release workflow and increment version to 1.2.38 --- .github/workflows/providers/gitea-release.yml | 27 +++++++------------ platformio.ini | 2 +- 2 files changed, 10 insertions(+), 19 deletions(-) diff --git a/.github/workflows/providers/gitea-release.yml b/.github/workflows/providers/gitea-release.yml index ac0da45..fdb67a0 100644 --- a/.github/workflows/providers/gitea-release.yml +++ b/.github/workflows/providers/gitea-release.yml @@ -13,36 +13,27 @@ jobs: - name: Checkout Repository uses: actions/checkout@v4 - - name: Install Build Dependencies + - name: Install System Dependencies run: | - # Add PlatformIO repository - curl -fsSL https://raw.githubusercontent.com/platformio/platformio-core/develop/platformio/assets/system/99-platformio-udev.rules | sudo tee /etc/udev/rules.d/99-platformio-udev.rules - - sudo curl -fsSL -o /etc/apt/trusted.gpg.d/platformio.gpg https://github.com/platformio/platformio-core/releases/download/v6.1.11/platformio-keyring.gpg - echo "deb https://github.com/platformio/platformio-core/releases/download/v6.1.11/ any/" | sudo tee /etc/apt/sources.list.d/platformio.list - - # Install dependencies sudo apt-get update - sudo apt-get install -y platformio-core python3-pip build-essential - - # Install esptool - sudo pip3 install esptool==4.5.1 + sudo apt-get install -y python3 python3-pip build-essential curl git + + - name: Install Python Dependencies + run: | + sudo pip3 install -U platformio esptool echo "Verifying installations:" - pio --version + platformio --version python3 --version esptool.py version - name: Build Firmware run: | - # Initialize project - pio project init --board esp32dev - echo "Building SPIFFS..." - pio run -t buildfs -v + platformio run -t buildfs echo "Building firmware..." - pio run -v + platformio run - name: Create Release Files run: | diff --git a/platformio.ini b/platformio.ini index b60c181..9b8979c 100644 --- a/platformio.ini +++ b/platformio.ini @@ -9,7 +9,7 @@ ; https://docs.platformio.org/page/projectconf.html [common] -version = "1.2.37" +version = "1.2.38" [env:esp32dev] platform = espressif32