Update workflow configurations and build scripts

- Modified GitHub workflow files for dev, stable, and test releases
- Updated platformio.ini and pio_local.ini_example configurations
- Enhanced build_interface.py script functionality
This commit is contained in:
proddy
2025-10-23 18:37:14 +02:00
parent ba334930fe
commit 0b84b79e1d
6 changed files with 46 additions and 34 deletions

View File

@@ -18,17 +18,17 @@ jobs:
steps:
- name: Install python 3.13
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: '3.13'
- name: Install Node.js 22
uses: actions/setup-node@v4
- name: Install Node.js 24
uses: actions/setup-node@v6
with:
node-version: 22
node-version: 24
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Enable Corepack
run: corepack enable pnpm
@@ -45,20 +45,21 @@ jobs:
pip install -U platformio
python -m pip install intelhex
- name: Build the WebUI
- name: Build webUI
run: |
cd interface
pnpm install
pnpm typesafe-i18n --no-watch
sed -i "s/= 'pl'/= 'en'/" ./src/i18n/i18n-util.ts
pnpm build
pnpm webUI
platformio run -e build_webUI
- name: Build all PIO target environments
- name: Build modbus
run: |
platformio run -e build_modbus
- name: Build standalone
run: |
platformio run -e build_standalone
- name: Build all PIO target environments, from default_envs
run: |
platformio run
env:
NO_BUILD_WEBUI: true
- name: Create GitHub Release
id: 'automatic_releases'

View File

@@ -49,8 +49,6 @@ jobs:
- name: Build all PIO target environments
run: |
platformio run
env:
NO_BUILD_WEBUI: true
- name: Create GitHub Release
uses: emsesp/action-automatic-releases@v1.0.0

View File

@@ -57,8 +57,6 @@ jobs:
- name: Build all target environments
run: |
platformio run
env:
NO_BUILD_WEBUI: true
- name: Create GitHub Release
id: 'automatic_releases'