mirror of https://github.com/arendst/Tasmota.git
1463 lines
37 KiB
YAML
1463 lines
37 KiB
YAML
name: Build_firmware
|
|
|
|
on:
|
|
push:
|
|
branches: development
|
|
|
|
jobs:
|
|
tasmota_pull:
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Use latest Tasmota development
|
|
run: |
|
|
git config --local user.name "Platformio BUILD"
|
|
git switch -c work
|
|
git remote add -f Tasmota "https://github.com/arendst/Tasmota.git"
|
|
git merge Tasmota/development --allow-unrelated-histories
|
|
- name: Push Tasmota # Push updates of latest Tasmota development to repo
|
|
uses: ad-m/github-push-action@master
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
branch: 'development'
|
|
force: true
|
|
|
|
|
|
tasmota:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota-minimal:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota-minimal
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota-lite:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota-lite
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota-knx:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota-knx
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota-sensors:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota-sensors
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota-display:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota-display
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota-ir:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota-ir
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota-ircustom:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota-ircustom
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota-zbbridge:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota-zbbridge
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota-zigbee:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota-zigbee
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota-AF:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota-AF
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota-BG:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota-BG
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota-BR:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota-BR
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota-CN:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota-CN
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota-CZ:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota-CZ
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota-DE:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota-DE
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota-ES:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota-ES
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota-FR:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota-FR
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota-FY:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota-FY
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota-GR:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota-GR
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota-HE:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota-HE
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota-HU:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota-HU
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota-IT:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota-IT
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota-KO:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota-KO
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota-NL:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota-NL
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota-PL:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota-PL
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota-PT:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota-PT
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota-RO:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota-RO
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota-RU:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota-RU
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota-SE:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota-SE
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota-SK:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota-SK
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota-TR:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota-TR
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota-TW:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota-TW
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota-UK:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota-UK
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota-VN:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota-VN
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota32:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota32
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota32solo1:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota32solo1
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota32-webcam:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota32-webcam
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota32-odroidgo:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota32-odroidgo
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota32-core2:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota32-core2
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota32-bluetooth:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota32-bluetooth
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota32-display:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota32-display
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota32-ir:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota32-ir
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota32-ircustom:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota32-ircustom
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota32-AF:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota32-AF
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota32-BG:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota32-BG
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota32-BR:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota32-BR
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota32-CN:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota32-CN
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota32-CZ:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota32-CZ
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota32-DE:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota32-DE
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota32-ES:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota32-ES
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota32-FR:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota32-FR
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota32-FY:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota32-FY
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota32-GR:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota32-GR
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota32-HE:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota32-HE
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota32-HU:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota32-HU
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota32-IT:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota32-IT
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota32-KO:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota32-KO
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota32-NL:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota32-NL
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota32-PL:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota32-PL
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota32-PT:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota32-PT
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota32-RO:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota32-RO
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota32-RU:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota32-RU
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota32-SE:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota32-SE
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota32-SK:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota32-SK
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota32-TR:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota32-TR
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota32-TW:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota32-TW
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota32-UK:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota32-UK
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
tasmota32-VN:
|
|
needs: tasmota_pull
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -U platformio
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run -e tasmota32-VN
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./build_output
|
|
|
|
|
|
Upload:
|
|
needs: [tasmota-VN, tasmota32-ircustom, tasmota32-VN, tasmota32-TW, tasmota32-TR]
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- uses: actions/download-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: ./mv_firmware
|
|
- name: Display structure of downloaded files
|
|
run: ls -R
|
|
working-directory: ./mv_firmware
|
|
- name: Move firmware files in sub-folders
|
|
run: |
|
|
mkdir -p ./firmware/tasmota/languages
|
|
mkdir -p ./firmware/tasmota32/languages
|
|
mkdir -p ./firmware/tasmota32/ESP32_needed_files/
|
|
mkdir -p ./firmware/tasmota32/Odroid_go_and_core2_needed_files/
|
|
mkdir -p ./firmware/map
|
|
[ ! -f ./mv_firmware/map/* ] || mv ./mv_firmware/map/* ./firmware/map/
|
|
[ ! -f ./mv_firmware/firmware/tasmota.* ] || mv ./mv_firmware/firmware/tasmota.* ./firmware/tasmota/
|
|
[ ! -f ./mv_firmware/firmware/tasmota-sensors.* ] || mv ./mv_firmware/firmware/tasmota-sensors.* ./firmware/tasmota/
|
|
[ ! -f ./mv_firmware/firmware/tasmota-minimal.* ] || mv ./mv_firmware/firmware/tasmota-minimal.* ./firmware/tasmota/
|
|
[ ! -f ./mv_firmware/firmware/tasmota-lite.* ] || mv ./mv_firmware/firmware/tasmota-lite.* ./firmware/tasmota/
|
|
[ ! -f ./mv_firmware/firmware/tasmota-ir*.* ] || mv ./mv_firmware/firmware/tasmota-ir*.* ./firmware/tasmota/
|
|
[ ! -f ./mv_firmware/firmware/tasmota-display.* ] || mv ./mv_firmware/firmware/tasmota-display.* ./firmware/tasmota/
|
|
[ ! -f ./mv_firmware/firmware/tasmota-knx.* ] || mv ./mv_firmware/firmware/tasmota-knx.* ./firmware/tasmota/
|
|
[ ! -f ./mv_firmware/firmware/tasmota-zbbridge.* ] || mv ./mv_firmware/firmware/tasmota-zbbridge.* ./firmware/tasmota/
|
|
[ ! -f ./mv_firmware/firmware/tasmota-zigbee.* ] || mv ./mv_firmware/firmware/tasmota-zigbee.* ./firmware/tasmota/
|
|
[ ! -f ./mv_firmware/firmware/tasmota32.* ] || mv ./mv_firmware/firmware/tasmota32.* ./firmware/tasmota32/
|
|
[ ! -f ./mv_firmware/firmware/tasmota32solo1*.* ] || mv ./mv_firmware/firmware/tasmota32solo1*.* ./firmware/tasmota32/
|
|
[ ! -f ./mv_firmware/firmware/tasmota32-ir*.* ] || mv ./mv_firmware/firmware/tasmota32-ir*.* ./firmware/tasmota32/
|
|
[ ! -f ./mv_firmware/firmware/tasmota32-display.* ] || mv ./mv_firmware/firmware/tasmota32-display.* ./firmware/tasmota32/
|
|
[ ! -f ./mv_firmware/firmware/tasmota32-web*.* ] || mv ./mv_firmware/firmware/tasmota32-web*.* ./firmware/tasmota32/
|
|
[ ! -f ./mv_firmware/firmware/tasmota32-odroidgo.* ] || mv ./mv_firmware/firmware/tasmota32-odroidgo.* ./firmware/tasmota32/
|
|
[ ! -f ./mv_firmware/firmware/tasmota32-core2.* ] || mv ./mv_firmware/firmware/tasmota32-core2.* ./firmware/tasmota32/
|
|
[ ! -f ./mv_firmware/firmware/tasmota32-bluetooth.* ] || mv ./mv_firmware/firmware/tasmota32-bluetooth.* ./firmware/tasmota32/
|
|
[ ! -f ./mv_firmware/firmware/tasmota32* ] || mv ./mv_firmware/firmware/tasmota32* ./firmware/tasmota32/languages/
|
|
[ ! -f ./mv_firmware/firmware/* ] || mv ./mv_firmware/firmware/* ./firmware/tasmota/languages/
|
|
[ ! -f ./tools/Esptool/ESP32/*.* ] || mv ./tools/Esptool/ESP32/*.* ./firmware/tasmota32/ESP32_needed_files/
|
|
[ ! -f ./tools/Esptool/Odroid_go_and_core2/*.* ] || mv ./tools/Esptool/Odroid_go_and_core2/*.* ./firmware/tasmota32/Odroid_go_and_core2_needed_files/
|
|
[ ! -f ./FIRMWARE.md ] || mv -f ./FIRMWARE.md ./README.md
|
|
- name: Commit files # transfer the new binaries back into the repository
|
|
run: |
|
|
git config --local user.name "Platformio BUILD"
|
|
git rm -r --cached .
|
|
git add ./README.md
|
|
git add -f ./firmware/*.*
|
|
git commit -m "Tasmota ESP Binaries http://tasmota.com"
|
|
- name: Push changes # push the firmware files to branch firmware
|
|
uses: ad-m/github-push-action@master
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
branch: 'firmware'
|
|
force: true
|