From 559209ee14356dc41d3855cdf8f2d7fc2c8f92c4 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Sat, 24 May 2025 14:23:47 +0200 Subject: [PATCH] Update GH Actions (#23472) --- .github/workflows/Tasmota_build_devel.yml | 24 ++++++++++++---- .github/workflows/Tasmota_build_master.yml | 20 +++++++++++--- .github/workflows/build_all_the_things.yml | 32 +++++++++++----------- 3 files changed, 50 insertions(+), 26 deletions(-) diff --git a/.github/workflows/Tasmota_build_devel.yml b/.github/workflows/Tasmota_build_devel.yml index 2aa33737a..66ebbf7c9 100644 --- a/.github/workflows/Tasmota_build_devel.yml +++ b/.github/workflows/Tasmota_build_devel.yml @@ -24,7 +24,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.x' + python-version: '3.13' - name: Make Berry and Solidify code run: | @@ -61,7 +61,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.x' + python-version: '3.13' - uses: actions/download-artifact@v4 with: pattern: berry @@ -105,7 +105,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.x' + python-version: '3.13' - name: Install dependencies run: | pip install wheel @@ -117,6 +117,9 @@ jobs: SHA=${COMMIT_SHA_LONG::7} sed -i -e "s/TASMOTA_SHA_SHORT/TASMOTA_SHA_SHORT $SHA-/g" ./tasmota/include/tasmota_version.h - name: Run PlatformIO + env: + PYTHONIOENCODING: utf-8 + PYTHONUTF8: '1' run: platformio run -e ${{ matrix.variant }} #- name: Use esp32-solo1 safeboot for esp32 too #run: | @@ -152,7 +155,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.x' + python-version: '3.13' - name: Install dependencies run: | pip install wheel @@ -163,6 +166,9 @@ jobs: SHA=${COMMIT_SHA_LONG::7} sed -i -e "s/TASMOTA_SHA_SHORT/TASMOTA_SHA_SHORT $SHA-/g" ./tasmota/include/tasmota_version.h - name: Run PlatformIO + env: + PYTHONIOENCODING: utf-8 + PYTHONUTF8: '1' run: platformio run -e ${{ matrix.variant }} - name: Upload firmware artifacts uses: actions/upload-artifact@v4 @@ -200,7 +206,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.x' + python-version: '3.13' - name: Install dependencies run: | pip install wheel @@ -221,6 +227,9 @@ jobs: SHA=${COMMIT_SHA_LONG::7} sed -i -e "s/TASMOTA_SHA_SHORT/TASMOTA_SHA_SHORT $SHA-/g" ./tasmota/include/tasmota_version.h - name: Run PlatformIO + env: + PYTHONIOENCODING: utf-8 + PYTHONUTF8: '1' run: platformio run -e ${{ matrix.variant }} - name: Upload firmware artifacts uses: actions/upload-artifact@v4 @@ -244,7 +253,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.x' + python-version: '3.13' - name: Install dependencies run: | pip install wheel @@ -265,6 +274,9 @@ jobs: SHA=${COMMIT_SHA_LONG::7} sed -i -e "s/TASMOTA_SHA_SHORT/TASMOTA_SHA_SHORT $SHA-/g" ./tasmota/include/tasmota_version.h - name: Run PlatformIO + env: + PYTHONIOENCODING: utf-8 + PYTHONUTF8: '1' run: platformio run -e ${{ matrix.variant }}-${{ matrix.language }} - name: Upload language firmware artifacts uses: actions/upload-artifact@v4 diff --git a/.github/workflows/Tasmota_build_master.yml b/.github/workflows/Tasmota_build_master.yml index a3162b6aa..4050742b9 100644 --- a/.github/workflows/Tasmota_build_master.yml +++ b/.github/workflows/Tasmota_build_master.yml @@ -39,7 +39,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.x' + python-version: '3.13' - name: Install dependencies run: | pip install wheel @@ -49,6 +49,9 @@ jobs: run: | sed -i -e "s/TASMOTA_SHA_SHORT/TASMOTA_SHA_SHORT release-/g" ./tasmota/include/tasmota_version.h - name: Run PlatformIO + env: + PYTHONIOENCODING: utf-8 + PYTHONUTF8: '1' run: platformio run -e ${{ matrix.variant }} - name: Upload safeboot firmware artifacts uses: actions/upload-artifact@v4 @@ -80,7 +83,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.x' + python-version: '3.13' - name: Install dependencies run: | pip install wheel @@ -90,6 +93,9 @@ jobs: run: | sed -i -e "s/TASMOTA_SHA_SHORT/TASMOTA_SHA_SHORT release-/g" ./tasmota/include/tasmota_version.h - name: Run PlatformIO + env: + PYTHONIOENCODING: utf-8 + PYTHONUTF8: '1' run: platformio run -e ${{ matrix.variant }} - name: Upload firmware artifacts uses: actions/upload-artifact@v4 @@ -127,7 +133,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.x' + python-version: '3.13' - name: Install dependencies run: | pip install wheel @@ -146,6 +152,9 @@ jobs: run: | sed -i -e "s/TASMOTA_SHA_SHORT/TASMOTA_SHA_SHORT release-/g" ./tasmota/include/tasmota_version.h - name: Run PlatformIO + env: + PYTHONIOENCODING: utf-8 + PYTHONUTF8: '1' run: platformio run -e ${{ matrix.variant }} - name: Upload firmware artifacts uses: actions/upload-artifact@v4 @@ -169,7 +178,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.x' + python-version: '3.13' - name: Install dependencies run: | pip install wheel @@ -188,6 +197,9 @@ jobs: run: | sed -i -e "s/TASMOTA_SHA_SHORT/TASMOTA_SHA_SHORT release-/g" ./tasmota/include/tasmota_version.h - name: Run PlatformIO + env: + PYTHONIOENCODING: utf-8 + PYTHONUTF8: '1' run: platformio run -e ${{ matrix.variant }}-${{ matrix.language }} - name: Upload language firmware artifacts uses: actions/upload-artifact@v4 diff --git a/.github/workflows/build_all_the_things.yml b/.github/workflows/build_all_the_things.yml index 5fe75a5d8..9cd5fdcf4 100644 --- a/.github/workflows/build_all_the_things.yml +++ b/.github/workflows/build_all_the_things.yml @@ -31,15 +31,15 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.x' + python-version: '3.13' - name: Install dependencies run: | pip install wheel - #python -m pip install --upgrade pip pip install -U platformio - #platformio upgrade --dev - #platformio update - name: Run PlatformIO + env: + PYTHONIOENCODING: utf-8 + PYTHONUTF8: '1' run: platformio run -e ${{ matrix.variant }} - uses: actions/upload-artifact@v4 with: @@ -59,15 +59,15 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.12' + python-version: '3.13' - name: Install dependencies run: | pip install wheel - #python -m pip install --upgrade pip pip install -U platformio - #platformio upgrade --dev - #platformio update - name: Run PlatformIO + env: + PYTHONIOENCODING: utf-8 + PYTHONUTF8: '1' run: platformio run -e ${{ matrix.variant }} - uses: actions/upload-artifact@v4 with: @@ -117,16 +117,16 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.x' + python-version: '3.13' - name: Install dependencies run: | pip install wheel - #python -m pip install --upgrade pip pip install -U platformio - #platformio upgrade --dev - #platformio update cp ./platformio_override_sample.ini ./platformio_override.ini - name: Run PlatformIO + env: + PYTHONIOENCODING: utf-8 + PYTHONUTF8: '1' run: platformio run -e ${{ matrix.variant }} - uses: actions/upload-artifact@v4 with: @@ -146,15 +146,15 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.x' + python-version: '3.13' - name: Install dependencies run: | pip install wheel - #python -m pip install --upgrade pip pip install -U platformio - #platformio upgrade --dev - #platformio update - name: Run PlatformIO + env: + PYTHONIOENCODING: utf-8 + PYTHONUTF8: '1' run: platformio run -e ${{ matrix.variant }}-${{ matrix.language }} - uses: actions/upload-artifact@v4 with: