mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-09 01:09:51 +03:00
remove ESP8266
This commit is contained in:
72
.github/workflows/build_esp8266_dev_firmware.yml
vendored
72
.github/workflows/build_esp8266_dev_firmware.yml
vendored
@@ -1,72 +0,0 @@
|
||||
name: Build ESP8266 Dev Firmware
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- esp8266_dev
|
||||
tags:
|
||||
# - '*.*.*'
|
||||
paths:
|
||||
- 'CHANGELOG_LATEST.md'
|
||||
workflow_dispatch:
|
||||
branches: [ esp8266_dev ]
|
||||
|
||||
jobs:
|
||||
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Version
|
||||
id: fetch_version
|
||||
run: |
|
||||
version=`grep -E '^#define EMSESP_APP_VERSION' ./src/version.h | awk '{print $3}' | sed 's/"//g'`
|
||||
echo "::set-output name=s::$version"
|
||||
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v1
|
||||
|
||||
- name: Install
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -U platformio
|
||||
platformio upgrade
|
||||
platformio update
|
||||
|
||||
- name: Build web
|
||||
run: |
|
||||
cd interface
|
||||
npm install
|
||||
npm run build
|
||||
|
||||
- name: Build images
|
||||
run: |
|
||||
platformio run -e esp8266-ci
|
||||
|
||||
- name: Delete
|
||||
uses: dev-drprasad/delete-tag-and-release@v0.1.2
|
||||
# if: startsWith(github.ref, 'refs/tags/')
|
||||
with:
|
||||
delete_release: true
|
||||
tag_name: esp8266_dev
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Changelog
|
||||
run: cat RELEASENOTES_DEV.md CHANGELOG_LATEST.md > BODY.txt
|
||||
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
# if: startsWith(github.ref, 'refs/tags/')
|
||||
with:
|
||||
body_path: BODY.txt
|
||||
name: ESP8266 Development Build v${{steps.fetch_version.outputs.s}}
|
||||
tag_name: esp8266_dev
|
||||
prerelease: true
|
||||
files: |
|
||||
./build/firmware/*.*
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
55
.github/workflows/release_esp8266_stable.yml
vendored
55
.github/workflows/release_esp8266_stable.yml
vendored
@@ -1,55 +0,0 @@
|
||||
name: Release Stable ESP8266
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
branches: [ stable_esp8266 ]
|
||||
|
||||
jobs:
|
||||
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Version
|
||||
id: fetch_version
|
||||
run: |
|
||||
version=`grep -E '^#define EMSESP_APP_VERSION' ./src/version.h | awk '{print $3}' | sed 's/"//g'`
|
||||
echo "::set-output name=s::$version"
|
||||
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v1
|
||||
|
||||
- name: Install
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -U platformio
|
||||
platformio upgrade
|
||||
platformio update
|
||||
|
||||
- name: Build web
|
||||
run: |
|
||||
cd interface
|
||||
npm install
|
||||
npm run build
|
||||
|
||||
- name: Build images
|
||||
run: |
|
||||
platformio run -e esp8266-ci
|
||||
|
||||
- name: Changelog
|
||||
run: cat RELEASENOTES.md CHANGELOG_LATEST.md > BODY.txt
|
||||
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
body_path: BODY.txt
|
||||
name: EMS-ESP v${{steps.fetch_version.outputs.s}} (ESP8266)
|
||||
tag_name: v${{steps.fetch_version.outputs.s}}
|
||||
prerelease: false
|
||||
files: |
|
||||
./build/firmware/*.*
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user