From e515bcea537cbe5cb95c0fae183f3acaedae9983 Mon Sep 17 00:00:00 2001 From: joBr99 <29555657+joBr99@users.noreply.github.com> Date: Sat, 12 Mar 2022 21:08:30 +0100 Subject: [PATCH] Update nextion2text.yml --- .github/workflows/nextion2text.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nextion2text.yml b/.github/workflows/nextion2text.yml index 606cafb8..bc772e93 100644 --- a/.github/workflows/nextion2text.yml +++ b/.github/workflows/nextion2text.yml @@ -19,6 +19,11 @@ jobs: with: ref: ${{ github.head_ref }} + - name: Get last commit message + id: last-commit-message + run: | + echo "::set-output name=msg::$(git log -1 --pretty=%s)" + - name: Run nextion2text run: | cd HMI @@ -27,5 +32,5 @@ jobs: - uses: stefanzweifel/git-auto-commit-action@v4 with: - commit_message: Add nextion2text + commit_message: ${{ steps.last-commit-message.outputs.msg }} (add nextion2text) file_pattern: HMI/n2t-out/*.txt