mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-10-28 11:14:58 +00:00
remove
This commit is contained in:
@@ -1,78 +0,0 @@
|
|||||||
name: 'Build test release'
|
|
||||||
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- 'test'
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
pre-release:
|
|
||||||
name: 'Build Test Release'
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
steps:
|
|
||||||
|
|
||||||
- name: Install python 3.13
|
|
||||||
uses: actions/setup-python@v7
|
|
||||||
with:
|
|
||||||
python-version: '3.13'
|
|
||||||
|
|
||||||
- name: Install Node.js 26
|
|
||||||
uses: actions/setup-node@v7
|
|
||||||
with:
|
|
||||||
node-version: 26
|
|
||||||
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v7
|
|
||||||
|
|
||||||
- name: Install pnpm
|
|
||||||
run: npm install -g pnpm
|
|
||||||
|
|
||||||
- name: Get the EMS-ESP version
|
|
||||||
id: build_info
|
|
||||||
run: |
|
|
||||||
version=`grep -E '^#define EMSESP_APP_VERSION' ./src/emsesp_version.h | awk -F'"' '{print $2}'`
|
|
||||||
echo "VERSION=$version" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: Install pioarduino
|
|
||||||
run: |
|
|
||||||
python -m pip install --upgrade pip
|
|
||||||
pip install -U "pioarduino==6.2.0"
|
|
||||||
|
|
||||||
- name: Build webUI
|
|
||||||
run: |
|
|
||||||
platformio run -e build-webUI
|
|
||||||
|
|
||||||
- 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
|
|
||||||
|
|
||||||
- name: Build the recovery firmware for the 16MB boards
|
|
||||||
run: |
|
|
||||||
platformio run -e recovery_s_16M -e recovery_s_16M_P -e recovery_s3_16M_P
|
|
||||||
|
|
||||||
- name: Create GitHub Release
|
|
||||||
id: 'automatic_releases'
|
|
||||||
uses: emsesp/action-automatic-releases@v1.0.1
|
|
||||||
with:
|
|
||||||
repo_token: '${{ secrets.GITHUB_TOKEN }}'
|
|
||||||
title: Test Build v${{steps.build_info.outputs.VERSION}}
|
|
||||||
automatic_release_tag: 'test'
|
|
||||||
prerelease: true
|
|
||||||
files: |
|
|
||||||
CHANGELOG_LATEST.md
|
|
||||||
./build/firmware/*.*
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user