mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-27 01:44:25 +01:00
Create nextion2text.yml
This commit is contained in:
28
.github/workflows/nextion2text.yml
vendored
Normal file
28
.github/workflows/nextion2text.yml
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
name: nextion2text
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
gen-nextion-to-text:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
ref: ${{ github.head_ref }}
|
||||
|
||||
- name: Run nextion2text
|
||||
run: |
|
||||
apt update && apt install -y python3
|
||||
cd HMI
|
||||
wget https://raw.githubusercontent.com/joBr99/Nextion2Text/master/Nextion2Text.py
|
||||
python Nextion2Text.py -i nspanel.HMI -o n2t-out
|
||||
|
||||
- uses: stefanzweifel/git-auto-commit-action@v4
|
||||
with:
|
||||
commit_message: Add nextion2text
|
||||
file_pattern: HMI/n2t-out/*.txt
|
||||
Reference in New Issue
Block a user