Create nextion2text.yml

This commit is contained in:
Johannes
2022-03-12 20:05:58 +01:00
committed by GitHub
parent 72f9af1175
commit 318ae91399

28
.github/workflows/nextion2text.yml vendored Normal file
View 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